summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-04-02 01:26:17 +0100
committerColin Watson <cjwatson@debian.org>2017-04-02 01:54:08 +0100
commit20adc7e0fc13ff9c7d270db250aac1fa140e3851 (patch)
tree5d9f06b0ff195db88093037d9102f0cdcf3884c6 /configure
parentaf27669f905133925224acc753067dea710881dd (diff)
parentec338656a3d6b21bb87f3b6367b232d297f601e5 (diff)
New upstream release (7.5p1)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure143
1 files changed, 126 insertions, 17 deletions
diff --git a/configure b/configure
index ec3a98ffc..5eaaa392f 100755
--- a/configure
+++ b/configure
@@ -647,6 +647,7 @@ COMMENT_OUT_ECC
647TEST_SSH_ECC 647TEST_SSH_ECC
648LIBEDIT 648LIBEDIT
649PKGCONFIG 649PKGCONFIG
650LDNSCONFIG
650COMMENT_OUT_RSA1 651COMMENT_OUT_RSA1
651LD 652LD
652PATH_PASSWD_PROG 653PATH_PASSWD_PROG
@@ -7593,6 +7594,7 @@ $as_echo "#define USE_BTMP 1" >>confdefs.h
7593 use_pie=auto 7594 use_pie=auto
7594 check_for_libcrypt_later=1 7595 check_for_libcrypt_later=1
7595 check_for_openpty_ctty_bug=1 7596 check_for_openpty_ctty_bug=1
7597 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE"
7596 7598
7597$as_echo "#define PAM_TTY_KLUDGE 1" >>confdefs.h 7599$as_echo "#define PAM_TTY_KLUDGE 1" >>confdefs.h
7598 7600
@@ -9958,22 +9960,131 @@ LDNS_MSG="no"
9958# Check whether --with-ldns was given. 9960# Check whether --with-ldns was given.
9959if test "${with_ldns+set}" = set; then : 9961if test "${with_ldns+set}" = set; then :
9960 withval=$with_ldns; 9962 withval=$with_ldns;
9961 if test "x$withval" != "xno" ; then 9963 ldns=""
9964 if test "x$withval" = "xyes" ; then
9965 if test -n "$ac_tool_prefix"; then
9966 # Extract the first word of "${ac_tool_prefix}ldns-config", so it can be a program name with args.
9967set dummy ${ac_tool_prefix}ldns-config; ac_word=$2
9968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9969$as_echo_n "checking for $ac_word... " >&6; }
9970if ${ac_cv_path_LDNSCONFIG+:} false; then :
9971 $as_echo_n "(cached) " >&6
9972else
9973 case $LDNSCONFIG in
9974 [\\/]* | ?:[\\/]*)
9975 ac_cv_path_LDNSCONFIG="$LDNSCONFIG" # Let the user override the test with a path.
9976 ;;
9977 *)
9978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9979for as_dir in $PATH
9980do
9981 IFS=$as_save_IFS
9982 test -z "$as_dir" && as_dir=.
9983 for ac_exec_ext in '' $ac_executable_extensions; do
9984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9985 ac_cv_path_LDNSCONFIG="$as_dir/$ac_word$ac_exec_ext"
9986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9987 break 2
9988 fi
9989done
9990 done
9991IFS=$as_save_IFS
9962 9992
9963 if test "x$withval" != "xyes" ; then 9993 ;;
9964 CPPFLAGS="$CPPFLAGS -I${withval}/include" 9994esac
9965 LDFLAGS="$LDFLAGS -L${withval}/lib" 9995fi
9966 fi 9996LDNSCONFIG=$ac_cv_path_LDNSCONFIG
9997if test -n "$LDNSCONFIG"; then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDNSCONFIG" >&5
9999$as_echo "$LDNSCONFIG" >&6; }
10000else
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10002$as_echo "no" >&6; }
10003fi
9967 10004
9968 10005
9969$as_echo "#define HAVE_LDNS 1" >>confdefs.h 10006fi
10007if test -z "$ac_cv_path_LDNSCONFIG"; then
10008 ac_pt_LDNSCONFIG=$LDNSCONFIG
10009 # Extract the first word of "ldns-config", so it can be a program name with args.
10010set dummy ldns-config; ac_word=$2
10011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10012$as_echo_n "checking for $ac_word... " >&6; }
10013if ${ac_cv_path_ac_pt_LDNSCONFIG+:} false; then :
10014 $as_echo_n "(cached) " >&6
10015else
10016 case $ac_pt_LDNSCONFIG in
10017 [\\/]* | ?:[\\/]*)
10018 ac_cv_path_ac_pt_LDNSCONFIG="$ac_pt_LDNSCONFIG" # Let the user override the test with a path.
10019 ;;
10020 *)
10021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10022for as_dir in $PATH
10023do
10024 IFS=$as_save_IFS
10025 test -z "$as_dir" && as_dir=.
10026 for ac_exec_ext in '' $ac_executable_extensions; do
10027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10028 ac_cv_path_ac_pt_LDNSCONFIG="$as_dir/$ac_word$ac_exec_ext"
10029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10030 break 2
10031 fi
10032done
10033 done
10034IFS=$as_save_IFS
9970 10035
9971 LIBS="-lldns $LIBS" 10036 ;;
9972 LDNS_MSG="yes" 10037esac
10038fi
10039ac_pt_LDNSCONFIG=$ac_cv_path_ac_pt_LDNSCONFIG
10040if test -n "$ac_pt_LDNSCONFIG"; then
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LDNSCONFIG" >&5
10042$as_echo "$ac_pt_LDNSCONFIG" >&6; }
10043else
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10045$as_echo "no" >&6; }
10046fi
9973 10047
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns support" >&5 10048 if test "x$ac_pt_LDNSCONFIG" = x; then
10049 LDNSCONFIG="no"
10050 else
10051 case $cross_compiling:$ac_tool_warned in
10052yes:)
10053{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10054$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10055ac_tool_warned=yes ;;
10056esac
10057 LDNSCONFIG=$ac_pt_LDNSCONFIG
10058 fi
10059else
10060 LDNSCONFIG="$ac_cv_path_LDNSCONFIG"
10061fi
10062
10063 if test "x$PKGCONFIG" = "xno"; then
10064 CPPFLAGS="$CPPFLAGS -I${withval}/include"
10065 LDFLAGS="$LDFLAGS -L${withval}/lib"
10066 LIBS="-lldns $LIBS"
10067 ldns=yes
10068 else
10069 LIBS="$LIBS `$LDNSCONFIG --libs`"
10070 CPPFLAGS="$CPPFLAGS `$LDNSCONFIG --cflags`"
10071 fi
10072 elif test "x$withval" != "xno" ; then
10073 CPPFLAGS="$CPPFLAGS -I${withval}/include"
10074 LDFLAGS="$LDFLAGS -L${withval}/lib"
10075 LIBS="-lldns $LIBS"
10076 ldns=yes
10077 fi
10078
10079 # Verify that it works.
10080 if test "x$ldns" = "xyes" ; then
10081
10082$as_echo "#define HAVE_LDNS 1" >>confdefs.h
10083
10084 LDNS_MSG="yes"
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns support" >&5
9975$as_echo_n "checking for ldns support... " >&6; } 10086$as_echo_n "checking for ldns support... " >&6; }
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977/* end confdefs.h. */ 10088/* end confdefs.h. */
9978 10089
9979#include <stdio.h> 10090#include <stdio.h>
@@ -9996,8 +10107,7 @@ $as_echo "no" >&6; }
9996fi 10107fi
9997rm -f core conftest.err conftest.$ac_objext \ 10108rm -f core conftest.err conftest.$ac_objext \
9998 conftest$ac_exeext conftest.$ac_ext 10109 conftest$ac_exeext conftest.$ac_ext
9999 fi 10110 fi
10000
10001 10111
10002fi 10112fi
10003 10113
@@ -10558,6 +10668,7 @@ for ac_func in \
10558 inet_ntoa \ 10668 inet_ntoa \
10559 inet_ntop \ 10669 inet_ntop \
10560 innetgr \ 10670 innetgr \
10671 llabs \
10561 login_getcapbool \ 10672 login_getcapbool \
10562 md5_crypt \ 10673 md5_crypt \
10563 memmove \ 10674 memmove \
@@ -10637,8 +10748,6 @@ fi
10637done 10748done
10638 10749
10639 10750
10640saved_CFLAGS="$CFLAGS"
10641CFLAGS="$CFLAGS -D_XOPEN_SOURCE"
10642for ac_func in mblen mbtowc nl_langinfo wcwidth 10751for ac_func in mblen mbtowc nl_langinfo wcwidth
10643do : 10752do :
10644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10753 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -10651,7 +10760,6 @@ _ACEOF
10651fi 10760fi
10652done 10761done
10653 10762
10654CFLAGS="$saved_CFLAGS"
10655 10763
10656TEST_SSH_UTF8=${TEST_SSH_UTF8:=yes} 10764TEST_SSH_UTF8=${TEST_SSH_UTF8:=yes}
10657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utf8 locale support" >&5 10765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utf8 locale support" >&5
@@ -12373,8 +12481,8 @@ if ac_fn_c_try_run "$LINENO"; then :
12373 ssl_library_ver=`cat conftest.ssllibver` 12481 ssl_library_ver=`cat conftest.ssllibver`
12374 # Check version is supported. 12482 # Check version is supported.
12375 case "$ssl_library_ver" in 12483 case "$ssl_library_ver" in
12376 0090[0-7]*|009080[0-5]*) 12484 10000*|0*)
12377 as_fn_error $? "OpenSSL >= 0.9.8f required (have \"$ssl_library_ver\")" "$LINENO" 5 12485 as_fn_error $? "OpenSSL >= 1.0.1 required (have \"$ssl_library_ver\")" "$LINENO" 5
12378 ;; 12486 ;;
12379 *) ;; 12487 *) ;;
12380 esac 12488 esac
@@ -20282,6 +20390,7 @@ echo " Smartcard support: $SCARD_MSG"
20282echo " S/KEY support: $SKEY_MSG" 20390echo " S/KEY support: $SKEY_MSG"
20283echo " MD5 password support: $MD5_MSG" 20391echo " MD5 password support: $MD5_MSG"
20284echo " libedit support: $LIBEDIT_MSG" 20392echo " libedit support: $LIBEDIT_MSG"
20393echo " libldns support: $LDNS_MSG"
20285echo " Solaris process contract support: $SPC_MSG" 20394echo " Solaris process contract support: $SPC_MSG"
20286echo " Solaris project support: $SP_MSG" 20395echo " Solaris project support: $SP_MSG"
20287echo " Solaris privilege support: $SPP_MSG" 20396echo " Solaris privilege support: $SPP_MSG"