diff options
author | Colin Watson <cjwatson@debian.org> | 2017-04-02 01:26:17 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-04-02 01:54:08 +0100 |
commit | 20adc7e0fc13ff9c7d270db250aac1fa140e3851 (patch) | |
tree | 5d9f06b0ff195db88093037d9102f0cdcf3884c6 /configure | |
parent | af27669f905133925224acc753067dea710881dd (diff) | |
parent | ec338656a3d6b21bb87f3b6367b232d297f601e5 (diff) |
New upstream release (7.5p1)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 143 |
1 files changed, 126 insertions, 17 deletions
@@ -647,6 +647,7 @@ COMMENT_OUT_ECC | |||
647 | TEST_SSH_ECC | 647 | TEST_SSH_ECC |
648 | LIBEDIT | 648 | LIBEDIT |
649 | PKGCONFIG | 649 | PKGCONFIG |
650 | LDNSCONFIG | ||
650 | COMMENT_OUT_RSA1 | 651 | COMMENT_OUT_RSA1 |
651 | LD | 652 | LD |
652 | PATH_PASSWD_PROG | 653 | PATH_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. |
9959 | if test "${with_ldns+set}" = set; then : | 9961 | if 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. | ||
9967 | set 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; } | ||
9970 | if ${ac_cv_path_LDNSCONFIG+:} false; then : | ||
9971 | $as_echo_n "(cached) " >&6 | ||
9972 | else | ||
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 | ||
9979 | for as_dir in $PATH | ||
9980 | do | ||
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 | ||
9989 | done | ||
9990 | done | ||
9991 | IFS=$as_save_IFS | ||
9962 | 9992 | ||
9963 | if test "x$withval" != "xyes" ; then | 9993 | ;; |
9964 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | 9994 | esac |
9965 | LDFLAGS="$LDFLAGS -L${withval}/lib" | 9995 | fi |
9966 | fi | 9996 | LDNSCONFIG=$ac_cv_path_LDNSCONFIG |
9997 | if test -n "$LDNSCONFIG"; then | ||
9998 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDNSCONFIG" >&5 | ||
9999 | $as_echo "$LDNSCONFIG" >&6; } | ||
10000 | else | ||
10001 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
10002 | $as_echo "no" >&6; } | ||
10003 | fi | ||
9967 | 10004 | ||
9968 | 10005 | ||
9969 | $as_echo "#define HAVE_LDNS 1" >>confdefs.h | 10006 | fi |
10007 | if 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. | ||
10010 | set 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; } | ||
10013 | if ${ac_cv_path_ac_pt_LDNSCONFIG+:} false; then : | ||
10014 | $as_echo_n "(cached) " >&6 | ||
10015 | else | ||
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 | ||
10022 | for as_dir in $PATH | ||
10023 | do | ||
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 | ||
10032 | done | ||
10033 | done | ||
10034 | IFS=$as_save_IFS | ||
9970 | 10035 | ||
9971 | LIBS="-lldns $LIBS" | 10036 | ;; |
9972 | LDNS_MSG="yes" | 10037 | esac |
10038 | fi | ||
10039 | ac_pt_LDNSCONFIG=$ac_cv_path_ac_pt_LDNSCONFIG | ||
10040 | if 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; } | ||
10043 | else | ||
10044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
10045 | $as_echo "no" >&6; } | ||
10046 | fi | ||
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 | ||
10052 | yes:) | ||
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;} | ||
10055 | ac_tool_warned=yes ;; | ||
10056 | esac | ||
10057 | LDNSCONFIG=$ac_pt_LDNSCONFIG | ||
10058 | fi | ||
10059 | else | ||
10060 | LDNSCONFIG="$ac_cv_path_LDNSCONFIG" | ||
10061 | fi | ||
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; } | |||
9996 | fi | 10107 | fi |
9997 | rm -f core conftest.err conftest.$ac_objext \ | 10108 | rm -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 | ||
10002 | fi | 10112 | fi |
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 | |||
10637 | done | 10748 | done |
10638 | 10749 | ||
10639 | 10750 | ||
10640 | saved_CFLAGS="$CFLAGS" | ||
10641 | CFLAGS="$CFLAGS -D_XOPEN_SOURCE" | ||
10642 | for ac_func in mblen mbtowc nl_langinfo wcwidth | 10751 | for ac_func in mblen mbtowc nl_langinfo wcwidth |
10643 | do : | 10752 | do : |
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 | |||
10651 | fi | 10760 | fi |
10652 | done | 10761 | done |
10653 | 10762 | ||
10654 | CFLAGS="$saved_CFLAGS" | ||
10655 | 10763 | ||
10656 | TEST_SSH_UTF8=${TEST_SSH_UTF8:=yes} | 10764 | TEST_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" | |||
20282 | echo " S/KEY support: $SKEY_MSG" | 20390 | echo " S/KEY support: $SKEY_MSG" |
20283 | echo " MD5 password support: $MD5_MSG" | 20391 | echo " MD5 password support: $MD5_MSG" |
20284 | echo " libedit support: $LIBEDIT_MSG" | 20392 | echo " libedit support: $LIBEDIT_MSG" |
20393 | echo " libldns support: $LDNS_MSG" | ||
20285 | echo " Solaris process contract support: $SPC_MSG" | 20394 | echo " Solaris process contract support: $SPC_MSG" |
20286 | echo " Solaris project support: $SP_MSG" | 20395 | echo " Solaris project support: $SP_MSG" |
20287 | echo " Solaris privilege support: $SPP_MSG" | 20396 | echo " Solaris privilege support: $SPP_MSG" |