diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 426 |
1 files changed, 417 insertions, 9 deletions
@@ -1,5 +1,5 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # From configure.ac Revision: 1.409 . | 2 | # From configure.ac Revision: 1.415 . |
3 | # Guess values for system-dependent variables and create Makefiles. | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. | 4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. |
5 | # | 5 | # |
@@ -203,7 +203,7 @@ if as_func_ret_failure; then | |||
203 | echo as_func_ret_failure succeeded. | 203 | echo as_func_ret_failure succeeded. |
204 | fi | 204 | fi |
205 | 205 | ||
206 | if (set x; as_func_ret_success y && test x = \"\$1\" ); then | 206 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
207 | : | 207 | : |
208 | else | 208 | else |
209 | exitcode=1 | 209 | exitcode=1 |
@@ -407,7 +407,7 @@ if as_func_ret_failure; then | |||
407 | echo as_func_ret_failure succeeded. | 407 | echo as_func_ret_failure succeeded. |
408 | fi | 408 | fi |
409 | 409 | ||
410 | if (set x; as_func_ret_success y && test x = \"\$1\" ); then | 410 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
411 | : | 411 | : |
412 | else | 412 | else |
413 | exitcode=1 | 413 | exitcode=1 |
@@ -5461,7 +5461,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |||
5461 | 5461 | ||
5462 | # -fstack-protector-all doesn't always work for some GCC versions | 5462 | # -fstack-protector-all doesn't always work for some GCC versions |
5463 | # and/or platforms, so we test if we can. If it's not supported | 5463 | # and/or platforms, so we test if we can. If it's not supported |
5464 | # on a give platform gcc will emit a warning so we use -Werror. | 5464 | # on a given platform gcc will emit a warning so we use -Werror. |
5465 | if test "x$use_stack_protector" = "x1"; then | 5465 | if test "x$use_stack_protector" = "x1"; then |
5466 | for t in -fstack-protector-all -fstack-protector; do | 5466 | for t in -fstack-protector-all -fstack-protector; do |
5467 | { echo "$as_me:$LINENO: checking if $CC supports $t" >&5 | 5467 | { echo "$as_me:$LINENO: checking if $CC supports $t" >&5 |
@@ -5477,8 +5477,8 @@ cat confdefs.h >>conftest.$ac_ext | |||
5477 | cat >>conftest.$ac_ext <<_ACEOF | 5477 | cat >>conftest.$ac_ext <<_ACEOF |
5478 | /* end confdefs.h. */ | 5478 | /* end confdefs.h. */ |
5479 | 5479 | ||
5480 | #include <stdlib.h> | 5480 | #include <stdio.h> |
5481 | int main(void){return 0;} | 5481 | int main(void){char x[256]; snprintf(x, sizeof(x), "XXX"); return 0;} |
5482 | 5482 | ||
5483 | _ACEOF | 5483 | _ACEOF |
5484 | rm -f conftest.$ac_objext conftest$ac_exeext | 5484 | rm -f conftest.$ac_objext conftest$ac_exeext |
@@ -5518,8 +5518,8 @@ cat confdefs.h >>conftest.$ac_ext | |||
5518 | cat >>conftest.$ac_ext <<_ACEOF | 5518 | cat >>conftest.$ac_ext <<_ACEOF |
5519 | /* end confdefs.h. */ | 5519 | /* end confdefs.h. */ |
5520 | 5520 | ||
5521 | #include <stdlib.h> | 5521 | #include <stdio.h> |
5522 | int main(void){exit(0);} | 5522 | int main(void){char x[256]; snprintf(x, sizeof(x), "XXX"); return 0;} |
5523 | 5523 | ||
5524 | _ACEOF | 5524 | _ACEOF |
5525 | rm -f conftest$ac_exeext | 5525 | rm -f conftest$ac_exeext |
@@ -7365,6 +7365,11 @@ _ACEOF | |||
7365 | 7365 | ||
7366 | #include <bsm/audit.h> | 7366 | #include <bsm/audit.h> |
7367 | 7367 | ||
7368 | cat >>confdefs.h <<\_ACEOF | ||
7369 | #define LASTLOG_WRITE_PUTUTXLINE 1 | ||
7370 | _ACEOF | ||
7371 | |||
7372 | |||
7368 | fi | 7373 | fi |
7369 | 7374 | ||
7370 | ;; | 7375 | ;; |
@@ -7681,6 +7686,31 @@ _ACEOF | |||
7681 | _ACEOF | 7686 | _ACEOF |
7682 | 7687 | ||
7683 | ;; | 7688 | ;; |
7689 | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) | ||
7690 | check_for_libcrypt_later=1 | ||
7691 | cat >>confdefs.h <<\_ACEOF | ||
7692 | #define PAM_TTY_KLUDGE 1 | ||
7693 | _ACEOF | ||
7694 | |||
7695 | cat >>confdefs.h <<\_ACEOF | ||
7696 | #define LOCKED_PASSWD_PREFIX "!" | ||
7697 | _ACEOF | ||
7698 | |||
7699 | cat >>confdefs.h <<\_ACEOF | ||
7700 | #define SPT_TYPE SPT_REUSEARGV | ||
7701 | _ACEOF | ||
7702 | |||
7703 | |||
7704 | cat >>confdefs.h <<\_ACEOF | ||
7705 | #define _PATH_BTMP "/var/log/btmp" | ||
7706 | _ACEOF | ||
7707 | |||
7708 | |||
7709 | cat >>confdefs.h <<\_ACEOF | ||
7710 | #define USE_BTMP 1 | ||
7711 | _ACEOF | ||
7712 | |||
7713 | ;; | ||
7684 | *-*-linux*) | 7714 | *-*-linux*) |
7685 | no_dev_ptmx=1 | 7715 | no_dev_ptmx=1 |
7686 | check_for_libcrypt_later=1 | 7716 | check_for_libcrypt_later=1 |
@@ -8744,7 +8774,6 @@ _ACEOF | |||
8744 | ;; | 8774 | ;; |
8745 | # UnixWare 7.x, OpenUNIX 8 | 8775 | # UnixWare 7.x, OpenUNIX 8 |
8746 | *-*-sysv5*) | 8776 | *-*-sysv5*) |
8747 | check_for_libcrypt_later=1 | ||
8748 | 8777 | ||
8749 | cat >>confdefs.h <<\_ACEOF | 8778 | cat >>confdefs.h <<\_ACEOF |
8750 | #define UNIXWARE_LONG_PASSWORDS 1 | 8779 | #define UNIXWARE_LONG_PASSWORDS 1 |
@@ -8782,11 +8811,181 @@ _ACEOF | |||
8782 | #define BROKEN_UPDWTMPX 1 | 8811 | #define BROKEN_UPDWTMPX 1 |
8783 | _ACEOF | 8812 | _ACEOF |
8784 | 8813 | ||
8814 | { echo "$as_me:$LINENO: checking for getluid in -lprot" >&5 | ||
8815 | echo $ECHO_N "checking for getluid in -lprot... $ECHO_C" >&6; } | ||
8816 | if test "${ac_cv_lib_prot_getluid+set}" = set; then | ||
8817 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8818 | else | ||
8819 | ac_check_lib_save_LIBS=$LIBS | ||
8820 | LIBS="-lprot $LIBS" | ||
8821 | cat >conftest.$ac_ext <<_ACEOF | ||
8822 | /* confdefs.h. */ | ||
8823 | _ACEOF | ||
8824 | cat confdefs.h >>conftest.$ac_ext | ||
8825 | cat >>conftest.$ac_ext <<_ACEOF | ||
8826 | /* end confdefs.h. */ | ||
8827 | |||
8828 | /* Override any GCC internal prototype to avoid an error. | ||
8829 | Use char because int might match the return type of a GCC | ||
8830 | builtin and then its argument prototype would still apply. */ | ||
8831 | #ifdef __cplusplus | ||
8832 | extern "C" | ||
8833 | #endif | ||
8834 | char getluid (); | ||
8835 | int | ||
8836 | main () | ||
8837 | { | ||
8838 | return getluid (); | ||
8839 | ; | ||
8840 | return 0; | ||
8841 | } | ||
8842 | _ACEOF | ||
8843 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8844 | if { (ac_try="$ac_link" | ||
8845 | case "(($ac_try" in | ||
8846 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8847 | *) ac_try_echo=$ac_try;; | ||
8848 | esac | ||
8849 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8850 | (eval "$ac_link") 2>conftest.er1 | ||
8851 | ac_status=$? | ||
8852 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8853 | rm -f conftest.er1 | ||
8854 | cat conftest.err >&5 | ||
8855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8856 | (exit $ac_status); } && { | ||
8857 | test -z "$ac_c_werror_flag" || | ||
8858 | test ! -s conftest.err | ||
8859 | } && test -s conftest$ac_exeext && | ||
8860 | $as_test_x conftest$ac_exeext; then | ||
8861 | ac_cv_lib_prot_getluid=yes | ||
8862 | else | ||
8863 | echo "$as_me: failed program was:" >&5 | ||
8864 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8865 | |||
8866 | ac_cv_lib_prot_getluid=no | ||
8867 | fi | ||
8868 | |||
8869 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8870 | conftest$ac_exeext conftest.$ac_ext | ||
8871 | LIBS=$ac_check_lib_save_LIBS | ||
8872 | fi | ||
8873 | { echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getluid" >&5 | ||
8874 | echo "${ECHO_T}$ac_cv_lib_prot_getluid" >&6; } | ||
8875 | if test $ac_cv_lib_prot_getluid = yes; then | ||
8876 | LIBS="$LIBS -lprot" | ||
8877 | |||
8878 | |||
8879 | for ac_func in getluid setluid | ||
8880 | do | ||
8881 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8882 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8883 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
8884 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
8885 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8886 | else | ||
8887 | cat >conftest.$ac_ext <<_ACEOF | ||
8888 | /* confdefs.h. */ | ||
8889 | _ACEOF | ||
8890 | cat confdefs.h >>conftest.$ac_ext | ||
8891 | cat >>conftest.$ac_ext <<_ACEOF | ||
8892 | /* end confdefs.h. */ | ||
8893 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8894 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8895 | #define $ac_func innocuous_$ac_func | ||
8896 | |||
8897 | /* System header to define __stub macros and hopefully few prototypes, | ||
8898 | which can conflict with char $ac_func (); below. | ||
8899 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8900 | <limits.h> exists even on freestanding compilers. */ | ||
8901 | |||
8902 | #ifdef __STDC__ | ||
8903 | # include <limits.h> | ||
8904 | #else | ||
8905 | # include <assert.h> | ||
8906 | #endif | ||
8907 | |||
8908 | #undef $ac_func | ||
8909 | |||
8910 | /* Override any GCC internal prototype to avoid an error. | ||
8911 | Use char because int might match the return type of a GCC | ||
8912 | builtin and then its argument prototype would still apply. */ | ||
8913 | #ifdef __cplusplus | ||
8914 | extern "C" | ||
8915 | #endif | ||
8916 | char $ac_func (); | ||
8917 | /* The GNU C library defines this for functions which it implements | ||
8918 | to always fail with ENOSYS. Some functions are actually named | ||
8919 | something starting with __ and the normal name is an alias. */ | ||
8920 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
8921 | choke me | ||
8922 | #endif | ||
8923 | |||
8924 | int | ||
8925 | main () | ||
8926 | { | ||
8927 | return $ac_func (); | ||
8928 | ; | ||
8929 | return 0; | ||
8930 | } | ||
8931 | _ACEOF | ||
8932 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8933 | if { (ac_try="$ac_link" | ||
8934 | case "(($ac_try" in | ||
8935 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8936 | *) ac_try_echo=$ac_try;; | ||
8937 | esac | ||
8938 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8939 | (eval "$ac_link") 2>conftest.er1 | ||
8940 | ac_status=$? | ||
8941 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8942 | rm -f conftest.er1 | ||
8943 | cat conftest.err >&5 | ||
8944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8945 | (exit $ac_status); } && { | ||
8946 | test -z "$ac_c_werror_flag" || | ||
8947 | test ! -s conftest.err | ||
8948 | } && test -s conftest$ac_exeext && | ||
8949 | $as_test_x conftest$ac_exeext; then | ||
8950 | eval "$as_ac_var=yes" | ||
8951 | else | ||
8952 | echo "$as_me: failed program was:" >&5 | ||
8953 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8954 | |||
8955 | eval "$as_ac_var=no" | ||
8956 | fi | ||
8957 | |||
8958 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8959 | conftest$ac_exeext conftest.$ac_ext | ||
8960 | fi | ||
8961 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
8962 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
8963 | echo "${ECHO_T}$ac_res" >&6; } | ||
8964 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8965 | cat >>confdefs.h <<_ACEOF | ||
8966 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8967 | _ACEOF | ||
8968 | |||
8969 | fi | ||
8970 | done | ||
8971 | |||
8972 | cat >>confdefs.h <<\_ACEOF | ||
8973 | #define HAVE_SECUREWARE 1 | ||
8974 | _ACEOF | ||
8975 | |||
8976 | cat >>confdefs.h <<\_ACEOF | ||
8977 | #define DISABLE_SHADOW 1 | ||
8978 | _ACEOF | ||
8979 | |||
8980 | |||
8981 | fi | ||
8982 | |||
8785 | ;; | 8983 | ;; |
8786 | *) cat >>confdefs.h <<\_ACEOF | 8984 | *) cat >>confdefs.h <<\_ACEOF |
8787 | #define LOCKED_PASSWD_STRING "*LK*" | 8985 | #define LOCKED_PASSWD_STRING "*LK*" |
8788 | _ACEOF | 8986 | _ACEOF |
8789 | 8987 | ||
8988 | check_for_libcrypt_later=1 | ||
8790 | ;; | 8989 | ;; |
8791 | esac | 8990 | esac |
8792 | ;; | 8991 | ;; |
@@ -14775,6 +14974,100 @@ fi | |||
14775 | done | 14974 | done |
14776 | 14975 | ||
14777 | 14976 | ||
14977 | for ac_func in getlastlogxbyname | ||
14978 | do | ||
14979 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
14980 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
14981 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
14982 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
14983 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14984 | else | ||
14985 | cat >conftest.$ac_ext <<_ACEOF | ||
14986 | /* confdefs.h. */ | ||
14987 | _ACEOF | ||
14988 | cat confdefs.h >>conftest.$ac_ext | ||
14989 | cat >>conftest.$ac_ext <<_ACEOF | ||
14990 | /* end confdefs.h. */ | ||
14991 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
14992 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
14993 | #define $ac_func innocuous_$ac_func | ||
14994 | |||
14995 | /* System header to define __stub macros and hopefully few prototypes, | ||
14996 | which can conflict with char $ac_func (); below. | ||
14997 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
14998 | <limits.h> exists even on freestanding compilers. */ | ||
14999 | |||
15000 | #ifdef __STDC__ | ||
15001 | # include <limits.h> | ||
15002 | #else | ||
15003 | # include <assert.h> | ||
15004 | #endif | ||
15005 | |||
15006 | #undef $ac_func | ||
15007 | |||
15008 | /* Override any GCC internal prototype to avoid an error. | ||
15009 | Use char because int might match the return type of a GCC | ||
15010 | builtin and then its argument prototype would still apply. */ | ||
15011 | #ifdef __cplusplus | ||
15012 | extern "C" | ||
15013 | #endif | ||
15014 | char $ac_func (); | ||
15015 | /* The GNU C library defines this for functions which it implements | ||
15016 | to always fail with ENOSYS. Some functions are actually named | ||
15017 | something starting with __ and the normal name is an alias. */ | ||
15018 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
15019 | choke me | ||
15020 | #endif | ||
15021 | |||
15022 | int | ||
15023 | main () | ||
15024 | { | ||
15025 | return $ac_func (); | ||
15026 | ; | ||
15027 | return 0; | ||
15028 | } | ||
15029 | _ACEOF | ||
15030 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15031 | if { (ac_try="$ac_link" | ||
15032 | case "(($ac_try" in | ||
15033 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15034 | *) ac_try_echo=$ac_try;; | ||
15035 | esac | ||
15036 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15037 | (eval "$ac_link") 2>conftest.er1 | ||
15038 | ac_status=$? | ||
15039 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15040 | rm -f conftest.er1 | ||
15041 | cat conftest.err >&5 | ||
15042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15043 | (exit $ac_status); } && { | ||
15044 | test -z "$ac_c_werror_flag" || | ||
15045 | test ! -s conftest.err | ||
15046 | } && test -s conftest$ac_exeext && | ||
15047 | $as_test_x conftest$ac_exeext; then | ||
15048 | eval "$as_ac_var=yes" | ||
15049 | else | ||
15050 | echo "$as_me: failed program was:" >&5 | ||
15051 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15052 | |||
15053 | eval "$as_ac_var=no" | ||
15054 | fi | ||
15055 | |||
15056 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15057 | conftest$ac_exeext conftest.$ac_ext | ||
15058 | fi | ||
15059 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
15060 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
15061 | echo "${ECHO_T}$ac_res" >&6; } | ||
15062 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
15063 | cat >>confdefs.h <<_ACEOF | ||
15064 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
15065 | _ACEOF | ||
15066 | |||
15067 | fi | ||
15068 | done | ||
15069 | |||
15070 | |||
14778 | { echo "$as_me:$LINENO: checking for daemon" >&5 | 15071 | { echo "$as_me:$LINENO: checking for daemon" >&5 |
14779 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6; } | 15072 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6; } |
14780 | if test "${ac_cv_func_daemon+set}" = set; then | 15073 | if test "${ac_cv_func_daemon+set}" = set; then |
@@ -22501,6 +22794,121 @@ cat >>confdefs.h <<\_ACEOF | |||
22501 | #define HAVE_STRUCT_IN6_ADDR 1 | 22794 | #define HAVE_STRUCT_IN6_ADDR 1 |
22502 | _ACEOF | 22795 | _ACEOF |
22503 | 22796 | ||
22797 | |||
22798 | { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5 | ||
22799 | echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; } | ||
22800 | if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then | ||
22801 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22802 | else | ||
22803 | cat >conftest.$ac_ext <<_ACEOF | ||
22804 | /* confdefs.h. */ | ||
22805 | _ACEOF | ||
22806 | cat confdefs.h >>conftest.$ac_ext | ||
22807 | cat >>conftest.$ac_ext <<_ACEOF | ||
22808 | /* end confdefs.h. */ | ||
22809 | |||
22810 | #ifdef HAVE_SYS_TYPES_H | ||
22811 | #include <sys/types.h> | ||
22812 | #endif | ||
22813 | #include <netinet/in.h> | ||
22814 | |||
22815 | |||
22816 | int | ||
22817 | main () | ||
22818 | { | ||
22819 | static struct sockaddr_in6 ac_aggr; | ||
22820 | if (ac_aggr.sin6_scope_id) | ||
22821 | return 0; | ||
22822 | ; | ||
22823 | return 0; | ||
22824 | } | ||
22825 | _ACEOF | ||
22826 | rm -f conftest.$ac_objext | ||
22827 | if { (ac_try="$ac_compile" | ||
22828 | case "(($ac_try" in | ||
22829 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22830 | *) ac_try_echo=$ac_try;; | ||
22831 | esac | ||
22832 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22833 | (eval "$ac_compile") 2>conftest.er1 | ||
22834 | ac_status=$? | ||
22835 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22836 | rm -f conftest.er1 | ||
22837 | cat conftest.err >&5 | ||
22838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22839 | (exit $ac_status); } && { | ||
22840 | test -z "$ac_c_werror_flag" || | ||
22841 | test ! -s conftest.err | ||
22842 | } && test -s conftest.$ac_objext; then | ||
22843 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes | ||
22844 | else | ||
22845 | echo "$as_me: failed program was:" >&5 | ||
22846 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22847 | |||
22848 | cat >conftest.$ac_ext <<_ACEOF | ||
22849 | /* confdefs.h. */ | ||
22850 | _ACEOF | ||
22851 | cat confdefs.h >>conftest.$ac_ext | ||
22852 | cat >>conftest.$ac_ext <<_ACEOF | ||
22853 | /* end confdefs.h. */ | ||
22854 | |||
22855 | #ifdef HAVE_SYS_TYPES_H | ||
22856 | #include <sys/types.h> | ||
22857 | #endif | ||
22858 | #include <netinet/in.h> | ||
22859 | |||
22860 | |||
22861 | int | ||
22862 | main () | ||
22863 | { | ||
22864 | static struct sockaddr_in6 ac_aggr; | ||
22865 | if (sizeof ac_aggr.sin6_scope_id) | ||
22866 | return 0; | ||
22867 | ; | ||
22868 | return 0; | ||
22869 | } | ||
22870 | _ACEOF | ||
22871 | rm -f conftest.$ac_objext | ||
22872 | if { (ac_try="$ac_compile" | ||
22873 | case "(($ac_try" in | ||
22874 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22875 | *) ac_try_echo=$ac_try;; | ||
22876 | esac | ||
22877 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22878 | (eval "$ac_compile") 2>conftest.er1 | ||
22879 | ac_status=$? | ||
22880 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22881 | rm -f conftest.er1 | ||
22882 | cat conftest.err >&5 | ||
22883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22884 | (exit $ac_status); } && { | ||
22885 | test -z "$ac_c_werror_flag" || | ||
22886 | test ! -s conftest.err | ||
22887 | } && test -s conftest.$ac_objext; then | ||
22888 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes | ||
22889 | else | ||
22890 | echo "$as_me: failed program was:" >&5 | ||
22891 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22892 | |||
22893 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no | ||
22894 | fi | ||
22895 | |||
22896 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22897 | fi | ||
22898 | |||
22899 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22900 | fi | ||
22901 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5 | ||
22902 | echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; } | ||
22903 | if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then | ||
22904 | |||
22905 | cat >>confdefs.h <<_ACEOF | ||
22906 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | ||
22907 | _ACEOF | ||
22908 | |||
22909 | |||
22910 | fi | ||
22911 | |||
22504 | fi | 22912 | fi |
22505 | 22913 | ||
22506 | { echo "$as_me:$LINENO: checking for struct addrinfo" >&5 | 22914 | { echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |