|
|
b7cca3 |
--- elinks-0.15.0/configure.orig 2021-12-24 20:57:15.000000000 +0100
|
|
|
b7cca3 |
+++ elinks-0.15.0/configure 2023-03-27 08:37:42.627732227 +0200
|
|
|
b7cca3 |
@@ -10345,18 +10345,10 @@
|
|
|
b7cca3 |
fi
|
|
|
b7cca3 |
fi
|
|
|
b7cca3 |
|
|
|
b7cca3 |
- for ac_header in term.h
|
|
|
b7cca3 |
-do :
|
|
|
b7cca3 |
- ac_fn_cxx_check_header_compile "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default"
|
|
|
b7cca3 |
-if test "x$ac_cv_header_term_h" = xyes
|
|
|
b7cca3 |
-then :
|
|
|
b7cca3 |
+ac_cv_header_term_h=yes
|
|
|
b7cca3 |
printf "%s\n" "#define HAVE_TERM_H 1" >>confdefs.h
|
|
|
b7cca3 |
CONFIG_TERMINFO=yes
|
|
|
b7cca3 |
-else $as_nop
|
|
|
b7cca3 |
- CONFIG_TERMINFO=no; break;
|
|
|
b7cca3 |
-fi
|
|
|
b7cca3 |
|
|
|
b7cca3 |
-done
|
|
|
b7cca3 |
if test "$CONFIG_TERMINFO" = yes; then
|
|
|
b7cca3 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
|
|
|
b7cca3 |
printf %s "checking for setupterm in -ltinfo... " >&6; }
|
|
|
b7cca3 |
@@ -13347,59 +13339,9 @@
|
|
|
8cf4e5 |
|
|
|
8cf4e5 |
chosen_ssl_library="GNUTLS"
|
|
|
8cf4e5 |
|
|
|
8cf4e5 |
- # Extract the first word of "libgcrypt-config", so it can be a program name with args.
|
|
|
8cf4e5 |
-set dummy libgcrypt-config; ac_word=$2
|
|
|
8cf4e5 |
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
8cf4e5 |
-printf %s "checking for $ac_word... " >&6; }
|
|
|
8cf4e5 |
-if test ${ac_cv_path_LIBGCRYPT_CONFIG+y}
|
|
|
8cf4e5 |
-then :
|
|
|
8cf4e5 |
- printf %s "(cached) " >&6
|
|
|
8cf4e5 |
-else $as_nop
|
|
|
8cf4e5 |
- case $LIBGCRYPT_CONFIG in
|
|
|
8cf4e5 |
- [\\/]* | ?:[\\/]*)
|
|
|
8cf4e5 |
- ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
|
|
|
8cf4e5 |
- ;;
|
|
|
8cf4e5 |
- *)
|
|
|
8cf4e5 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
8cf4e5 |
-for as_dir in $PATH
|
|
|
8cf4e5 |
-do
|
|
|
8cf4e5 |
- IFS=$as_save_IFS
|
|
|
8cf4e5 |
- case $as_dir in #(((
|
|
|
8cf4e5 |
- '') as_dir=./ ;;
|
|
|
8cf4e5 |
- */) ;;
|
|
|
8cf4e5 |
- *) as_dir=$as_dir/ ;;
|
|
|
8cf4e5 |
- esac
|
|
|
8cf4e5 |
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
8cf4e5 |
- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
|
8cf4e5 |
- ac_cv_path_LIBGCRYPT_CONFIG="$as_dir$ac_word$ac_exec_ext"
|
|
|
8cf4e5 |
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
|
8cf4e5 |
- break 2
|
|
|
8cf4e5 |
- fi
|
|
|
8cf4e5 |
-done
|
|
|
8cf4e5 |
- done
|
|
|
8cf4e5 |
-IFS=$as_save_IFS
|
|
|
8cf4e5 |
-
|
|
|
8cf4e5 |
- test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
|
|
|
8cf4e5 |
- ;;
|
|
|
8cf4e5 |
-esac
|
|
|
8cf4e5 |
-fi
|
|
|
8cf4e5 |
-LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
|
|
|
8cf4e5 |
-if test -n "$LIBGCRYPT_CONFIG"; then
|
|
|
8cf4e5 |
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
|
|
|
8cf4e5 |
-printf "%s\n" "$LIBGCRYPT_CONFIG" >&6; }
|
|
|
8cf4e5 |
-else
|
|
|
8cf4e5 |
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
8cf4e5 |
-printf "%s\n" "no" >&6; }
|
|
|
8cf4e5 |
-fi
|
|
|
8cf4e5 |
-
|
|
|
8cf4e5 |
-
|
|
|
8cf4e5 |
- if test "$LIBGCRYPT_CONFIG" = no; then
|
|
|
8cf4e5 |
- as_fn_error $? "libgcrypt-config not found." "$LINENO" 5
|
|
|
8cf4e5 |
- fi
|
|
|
8cf4e5 |
-
|
|
|
8cf4e5 |
# gcry_create_nounce is part of libgcrypt
|
|
|
8cf4e5 |
- LIBGCRYPT_CFLAGS=`libgcrypt-config --cflags`
|
|
|
8cf4e5 |
- LIBGCRYPT_LIBS=`libgcrypt-config --libs`
|
|
|
8cf4e5 |
+ LIBGCRYPT_CFLAGS=`$PKG_CONFIG --cflags libgcrypt`
|
|
|
8cf4e5 |
+ LIBGCRYPT_LIBS=`$PKG_CONFIG --libs libgcrypt`
|
|
|
8cf4e5 |
|
|
|
8cf4e5 |
LIBS="$LIBGCRYPT_LIBS $GNUTLS_LIBS $LIBS"
|
|
|
8cf4e5 |
|