Changeset 30 for trunk/samba/source/configure
- Timestamp:
- Apr 25, 2007, 9:44:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/configure
r26 r30 699 699 INSTALL_PAM_MODULES 700 700 UNINSTALL_PAM_MODULES 701 NSS_MODULES 701 702 EXTRA_BIN_PROGS 702 703 SMBMOUNT_PROGS … … 2431 2432 2432 2433 2434 2433 2435 ## check for --enable-debug first before checking CFLAGS before 2434 2436 ## so that we don't mix -O and -g … … 14438 14440 14439 14441 14440 for ac_header in stdbool.h sys/select.h 14442 14443 for ac_header in stdbool.h stdint.h sys/select.h 14441 14444 do 14442 14445 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 14766 14769 14767 14770 14771 if test "${ac_cv_header_stdint_h+set}" = set; then 14772 { echo "$as_me:$LINENO: checking for stdint.h" >&5 14773 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 14774 if test "${ac_cv_header_stdint_h+set}" = set; then 14775 echo $ECHO_N "(cached) $ECHO_C" >&6 14776 fi 14777 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 14778 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 14779 else 14780 # Is the header compilable? 14781 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 14782 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 14783 cat >conftest.$ac_ext <<_ACEOF 14784 /* confdefs.h. */ 14785 _ACEOF 14786 cat confdefs.h >>conftest.$ac_ext 14787 cat >>conftest.$ac_ext <<_ACEOF 14788 /* end confdefs.h. */ 14789 $ac_includes_default 14790 #include <stdint.h> 14791 _ACEOF 14792 rm -f conftest.$ac_objext 14793 if { (ac_try="$ac_compile" 14794 case "(($ac_try" in 14795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14796 *) ac_try_echo=$ac_try;; 14797 esac 14798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14799 (eval "$ac_compile") 2>conftest.er1 14800 ac_status=$? 14801 grep -v '^ *+' conftest.er1 >conftest.err 14802 rm -f conftest.er1 14803 cat conftest.err >&5 14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14805 (exit $ac_status); } && 14806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14807 { (case "(($ac_try" in 14808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14809 *) ac_try_echo=$ac_try;; 14810 esac 14811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14812 (eval "$ac_try") 2>&5 14813 ac_status=$? 14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14815 (exit $ac_status); }; } && 14816 { ac_try='test -s conftest.$ac_objext' 14817 { (case "(($ac_try" in 14818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14819 *) ac_try_echo=$ac_try;; 14820 esac 14821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14822 (eval "$ac_try") 2>&5 14823 ac_status=$? 14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14825 (exit $ac_status); }; }; then 14826 ac_header_compiler=yes 14827 else 14828 echo "$as_me: failed program was:" >&5 14829 sed 's/^/| /' conftest.$ac_ext >&5 14830 14831 ac_header_compiler=no 14832 fi 14833 14834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14835 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14836 echo "${ECHO_T}$ac_header_compiler" >&6; } 14837 14838 # Is the header present? 14839 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 14840 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 14841 cat >conftest.$ac_ext <<_ACEOF 14842 /* confdefs.h. */ 14843 _ACEOF 14844 cat confdefs.h >>conftest.$ac_ext 14845 cat >>conftest.$ac_ext <<_ACEOF 14846 /* end confdefs.h. */ 14847 #include <stdint.h> 14848 _ACEOF 14849 if { (ac_try="$ac_cpp conftest.$ac_ext" 14850 case "(($ac_try" in 14851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14852 *) ac_try_echo=$ac_try;; 14853 esac 14854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14856 ac_status=$? 14857 grep -v '^ *+' conftest.er1 >conftest.err 14858 rm -f conftest.er1 14859 cat conftest.err >&5 14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14861 (exit $ac_status); } >/dev/null; then 14862 if test -s conftest.err; then 14863 ac_cpp_err=$ac_c_preproc_warn_flag 14864 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 14865 else 14866 ac_cpp_err= 14867 fi 14868 else 14869 ac_cpp_err=yes 14870 fi 14871 if test -z "$ac_cpp_err"; then 14872 ac_header_preproc=yes 14873 else 14874 echo "$as_me: failed program was:" >&5 14875 sed 's/^/| /' conftest.$ac_ext >&5 14876 14877 ac_header_preproc=no 14878 fi 14879 14880 rm -f conftest.err conftest.$ac_ext 14881 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14882 echo "${ECHO_T}$ac_header_preproc" >&6; } 14883 14884 # So? What about this header? 14885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14886 yes:no: ) 14887 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 14888 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14889 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 14890 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 14891 ac_header_preproc=yes 14892 ;; 14893 no:yes:* ) 14894 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 14895 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 14896 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5 14897 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;} 14898 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 14899 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 14900 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5 14901 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;} 14902 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 14903 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 14904 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 14905 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 14906 14907 ;; 14908 esac 14909 { echo "$as_me:$LINENO: checking for stdint.h" >&5 14910 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 14911 if test "${ac_cv_header_stdint_h+set}" = set; then 14912 echo $ECHO_N "(cached) $ECHO_C" >&6 14913 else 14914 ac_cv_header_stdint_h=$ac_header_preproc 14915 fi 14916 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 14917 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 14918 14919 fi 14920 if test $ac_cv_header_stdint_h = yes; then 14921 ac_config_commands="$ac_config_commands rm-stdint.h" 14922 14923 else 14924 ac_config_commands="$ac_config_commands mk-stdint.h" 14925 14926 14927 fi 14928 14929 14930 14931 if test "${ac_cv_header_stdbool_h+set}" = set; then 14932 { echo "$as_me:$LINENO: checking for stdbool.h" >&5 14933 echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6; } 14934 if test "${ac_cv_header_stdbool_h+set}" = set; then 14935 echo $ECHO_N "(cached) $ECHO_C" >&6 14936 fi 14937 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 14938 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } 14939 else 14940 # Is the header compilable? 14941 { echo "$as_me:$LINENO: checking stdbool.h usability" >&5 14942 echo $ECHO_N "checking stdbool.h usability... $ECHO_C" >&6; } 14943 cat >conftest.$ac_ext <<_ACEOF 14944 /* confdefs.h. */ 14945 _ACEOF 14946 cat confdefs.h >>conftest.$ac_ext 14947 cat >>conftest.$ac_ext <<_ACEOF 14948 /* end confdefs.h. */ 14949 $ac_includes_default 14950 #include <stdbool.h> 14951 _ACEOF 14952 rm -f conftest.$ac_objext 14953 if { (ac_try="$ac_compile" 14954 case "(($ac_try" in 14955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14956 *) ac_try_echo=$ac_try;; 14957 esac 14958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14959 (eval "$ac_compile") 2>conftest.er1 14960 ac_status=$? 14961 grep -v '^ *+' conftest.er1 >conftest.err 14962 rm -f conftest.er1 14963 cat conftest.err >&5 14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14965 (exit $ac_status); } && 14966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14967 { (case "(($ac_try" in 14968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14969 *) ac_try_echo=$ac_try;; 14970 esac 14971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14972 (eval "$ac_try") 2>&5 14973 ac_status=$? 14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14975 (exit $ac_status); }; } && 14976 { ac_try='test -s conftest.$ac_objext' 14977 { (case "(($ac_try" in 14978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14979 *) ac_try_echo=$ac_try;; 14980 esac 14981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14982 (eval "$ac_try") 2>&5 14983 ac_status=$? 14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14985 (exit $ac_status); }; }; then 14986 ac_header_compiler=yes 14987 else 14988 echo "$as_me: failed program was:" >&5 14989 sed 's/^/| /' conftest.$ac_ext >&5 14990 14991 ac_header_compiler=no 14992 fi 14993 14994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14995 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14996 echo "${ECHO_T}$ac_header_compiler" >&6; } 14997 14998 # Is the header present? 14999 { echo "$as_me:$LINENO: checking stdbool.h presence" >&5 15000 echo $ECHO_N "checking stdbool.h presence... $ECHO_C" >&6; } 15001 cat >conftest.$ac_ext <<_ACEOF 15002 /* confdefs.h. */ 15003 _ACEOF 15004 cat confdefs.h >>conftest.$ac_ext 15005 cat >>conftest.$ac_ext <<_ACEOF 15006 /* end confdefs.h. */ 15007 #include <stdbool.h> 15008 _ACEOF 15009 if { (ac_try="$ac_cpp conftest.$ac_ext" 15010 case "(($ac_try" in 15011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15012 *) ac_try_echo=$ac_try;; 15013 esac 15014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 15016 ac_status=$? 15017 grep -v '^ *+' conftest.er1 >conftest.err 15018 rm -f conftest.er1 15019 cat conftest.err >&5 15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15021 (exit $ac_status); } >/dev/null; then 15022 if test -s conftest.err; then 15023 ac_cpp_err=$ac_c_preproc_warn_flag 15024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 15025 else 15026 ac_cpp_err= 15027 fi 15028 else 15029 ac_cpp_err=yes 15030 fi 15031 if test -z "$ac_cpp_err"; then 15032 ac_header_preproc=yes 15033 else 15034 echo "$as_me: failed program was:" >&5 15035 sed 's/^/| /' conftest.$ac_ext >&5 15036 15037 ac_header_preproc=no 15038 fi 15039 15040 rm -f conftest.err conftest.$ac_ext 15041 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15042 echo "${ECHO_T}$ac_header_preproc" >&6; } 15043 15044 # So? What about this header? 15045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15046 yes:no: ) 15047 { echo "$as_me:$LINENO: WARNING: stdbool.h: accepted by the compiler, rejected by the preprocessor!" >&5 15048 echo "$as_me: WARNING: stdbool.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 15049 { echo "$as_me:$LINENO: WARNING: stdbool.h: proceeding with the compiler's result" >&5 15050 echo "$as_me: WARNING: stdbool.h: proceeding with the compiler's result" >&2;} 15051 ac_header_preproc=yes 15052 ;; 15053 no:yes:* ) 15054 { echo "$as_me:$LINENO: WARNING: stdbool.h: present but cannot be compiled" >&5 15055 echo "$as_me: WARNING: stdbool.h: present but cannot be compiled" >&2;} 15056 { echo "$as_me:$LINENO: WARNING: stdbool.h: check for missing prerequisite headers?" >&5 15057 echo "$as_me: WARNING: stdbool.h: check for missing prerequisite headers?" >&2;} 15058 { echo "$as_me:$LINENO: WARNING: stdbool.h: see the Autoconf documentation" >&5 15059 echo "$as_me: WARNING: stdbool.h: see the Autoconf documentation" >&2;} 15060 { echo "$as_me:$LINENO: WARNING: stdbool.h: section \"Present But Cannot Be Compiled\"" >&5 15061 echo "$as_me: WARNING: stdbool.h: section \"Present But Cannot Be Compiled\"" >&2;} 15062 { echo "$as_me:$LINENO: WARNING: stdbool.h: proceeding with the preprocessor's result" >&5 15063 echo "$as_me: WARNING: stdbool.h: proceeding with the preprocessor's result" >&2;} 15064 { echo "$as_me:$LINENO: WARNING: stdbool.h: in the future, the compiler will take precedence" >&5 15065 echo "$as_me: WARNING: stdbool.h: in the future, the compiler will take precedence" >&2;} 15066 15067 ;; 15068 esac 15069 { echo "$as_me:$LINENO: checking for stdbool.h" >&5 15070 echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6; } 15071 if test "${ac_cv_header_stdbool_h+set}" = set; then 15072 echo $ECHO_N "(cached) $ECHO_C" >&6 15073 else 15074 ac_cv_header_stdbool_h=$ac_header_preproc 15075 fi 15076 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 15077 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } 15078 15079 fi 15080 if test $ac_cv_header_stdbool_h = yes; then 15081 ac_config_commands="$ac_config_commands rm-stdbool.h" 15082 15083 else 15084 ac_config_commands="$ac_config_commands mk-stdbool.h" 15085 15086 15087 fi 15088 15089 15090 15091 14768 15092 { echo "$as_me:$LINENO: checking for bool" >&5 14769 15093 echo $ECHO_N "checking for bool... $ECHO_C" >&6; } … … 16448 16772 16449 16773 16450 16451 for ac_func in waitpid strlcpy strlcat innetgr initgroups memmove strdup 16774 for ac_func in waitpid strlcpy strlcat initgroups memmove strdup 16452 16775 do 16453 16776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` … … 18240 18563 18241 18564 18242 18243 for ac_func in strnlen setenv 18565 { echo "$as_me:$LINENO: checking for setenv declaration" >&5 18566 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6; } 18567 if test "${ac_cv_have_setenv_decl+set}" = set; then 18568 echo $ECHO_N "(cached) $ECHO_C" >&6 18569 else 18570 18571 cat >conftest.$ac_ext <<_ACEOF 18572 /* confdefs.h. */ 18573 _ACEOF 18574 cat confdefs.h >>conftest.$ac_ext 18575 cat >>conftest.$ac_ext <<_ACEOF 18576 /* end confdefs.h. */ 18577 #include <stdlib.h> 18578 int 18579 main () 18580 { 18581 int i = (int)setenv 18582 ; 18583 return 0; 18584 } 18585 _ACEOF 18586 rm -f conftest.$ac_objext 18587 if { (ac_try="$ac_compile" 18588 case "(($ac_try" in 18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18590 *) ac_try_echo=$ac_try;; 18591 esac 18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18593 (eval "$ac_compile") 2>conftest.er1 18594 ac_status=$? 18595 grep -v '^ *+' conftest.er1 >conftest.err 18596 rm -f conftest.er1 18597 cat conftest.err >&5 18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18599 (exit $ac_status); } && 18600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18601 { (case "(($ac_try" in 18602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18603 *) ac_try_echo=$ac_try;; 18604 esac 18605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18606 (eval "$ac_try") 2>&5 18607 ac_status=$? 18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18609 (exit $ac_status); }; } && 18610 { ac_try='test -s conftest.$ac_objext' 18611 { (case "(($ac_try" in 18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18613 *) ac_try_echo=$ac_try;; 18614 esac 18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18616 (eval "$ac_try") 2>&5 18617 ac_status=$? 18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18619 (exit $ac_status); }; }; then 18620 ac_cv_have_setenv_decl=yes 18621 else 18622 echo "$as_me: failed program was:" >&5 18623 sed 's/^/| /' conftest.$ac_ext >&5 18624 18625 ac_cv_have_setenv_decl=no 18626 fi 18627 18628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18629 fi 18630 { echo "$as_me:$LINENO: result: $ac_cv_have_setenv_decl" >&5 18631 echo "${ECHO_T}$ac_cv_have_setenv_decl" >&6; } 18632 if test x"$ac_cv_have_setenv_decl" = x"yes"; then 18633 18634 cat >>confdefs.h <<\_ACEOF 18635 #define HAVE_SETENV_DECL 1 18636 _ACEOF 18637 18638 fi 18639 18640 18641 18642 for ac_func in setenv unsetenv 18643 do 18644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18645 { echo "$as_me:$LINENO: checking for $ac_func" >&5 18646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 18647 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18648 echo $ECHO_N "(cached) $ECHO_C" >&6 18649 else 18650 cat >conftest.$ac_ext <<_ACEOF 18651 /* confdefs.h. */ 18652 _ACEOF 18653 cat confdefs.h >>conftest.$ac_ext 18654 cat >>conftest.$ac_ext <<_ACEOF 18655 /* end confdefs.h. */ 18656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 18657 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 18658 #define $ac_func innocuous_$ac_func 18659 18660 /* System header to define __stub macros and hopefully few prototypes, 18661 which can conflict with char $ac_func (); below. 18662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 18663 <limits.h> exists even on freestanding compilers. */ 18664 18665 #ifdef __STDC__ 18666 # include <limits.h> 18667 #else 18668 # include <assert.h> 18669 #endif 18670 18671 #undef $ac_func 18672 18673 /* Override any GCC internal prototype to avoid an error. 18674 Use char because int might match the return type of a GCC 18675 builtin and then its argument prototype would still apply. */ 18676 #ifdef __cplusplus 18677 extern "C" 18678 #endif 18679 char $ac_func (); 18680 /* The GNU C library defines this for functions which it implements 18681 to always fail with ENOSYS. Some functions are actually named 18682 something starting with __ and the normal name is an alias. */ 18683 #if defined __stub_$ac_func || defined __stub___$ac_func 18684 choke me 18685 #endif 18686 18687 int 18688 main () 18689 { 18690 return $ac_func (); 18691 ; 18692 return 0; 18693 } 18694 _ACEOF 18695 rm -f conftest.$ac_objext conftest$ac_exeext 18696 if { (ac_try="$ac_link" 18697 case "(($ac_try" in 18698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18699 *) ac_try_echo=$ac_try;; 18700 esac 18701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18702 (eval "$ac_link") 2>conftest.er1 18703 ac_status=$? 18704 grep -v '^ *+' conftest.er1 >conftest.err 18705 rm -f conftest.er1 18706 cat conftest.err >&5 18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18708 (exit $ac_status); } && 18709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18710 { (case "(($ac_try" in 18711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18712 *) ac_try_echo=$ac_try;; 18713 esac 18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18715 (eval "$ac_try") 2>&5 18716 ac_status=$? 18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18718 (exit $ac_status); }; } && 18719 { ac_try='test -s conftest$ac_exeext' 18720 { (case "(($ac_try" in 18721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18722 *) ac_try_echo=$ac_try;; 18723 esac 18724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18725 (eval "$ac_try") 2>&5 18726 ac_status=$? 18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18728 (exit $ac_status); }; }; then 18729 eval "$as_ac_var=yes" 18730 else 18731 echo "$as_me: failed program was:" >&5 18732 sed 's/^/| /' conftest.$ac_ext >&5 18733 18734 eval "$as_ac_var=no" 18735 fi 18736 18737 rm -f core conftest.err conftest.$ac_objext \ 18738 conftest$ac_exeext conftest.$ac_ext 18739 fi 18740 ac_res=`eval echo '${'$as_ac_var'}'` 18741 { echo "$as_me:$LINENO: result: $ac_res" >&5 18742 echo "${ECHO_T}$ac_res" >&6; } 18743 if test `eval echo '${'$as_ac_var'}'` = yes; then 18744 cat >>confdefs.h <<_ACEOF 18745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18746 _ACEOF 18747 18748 fi 18749 done 18750 18751 18752 18753 for ac_func in strnlen 18244 18754 do 18245 18755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` … … 21503 22013 fi 21504 22014 22015 { echo "$as_me:$LINENO: checking whether strptime is available and works" >&5 22016 echo $ECHO_N "checking whether strptime is available and works... $ECHO_C" >&6; } 22017 if test "${libreplace_cv_STRPTIME_OK+set}" = set; then 22018 echo $ECHO_N "(cached) $ECHO_C" >&6 22019 else 22020 22021 if test "$cross_compiling" = yes; then 22022 libreplace_cv_STRPTIME_OK="assuming not" 22023 else 22024 cat >conftest.$ac_ext <<_ACEOF 22025 /* confdefs.h. */ 22026 _ACEOF 22027 cat confdefs.h >>conftest.$ac_ext 22028 cat >>conftest.$ac_ext <<_ACEOF 22029 /* end confdefs.h. */ 22030 22031 #define LIBREPLACE_CONFIGURE_TEST_STRPTIME 22032 #include "$libreplacedir/test/strptime.c" 22033 22034 _ACEOF 22035 rm -f conftest$ac_exeext 22036 if { (ac_try="$ac_link" 22037 case "(($ac_try" in 22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22039 *) ac_try_echo=$ac_try;; 22040 esac 22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22042 (eval "$ac_link") 2>&5 22043 ac_status=$? 22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22045 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 22046 { (case "(($ac_try" in 22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22048 *) ac_try_echo=$ac_try;; 22049 esac 22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22051 (eval "$ac_try") 2>&5 22052 ac_status=$? 22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22054 (exit $ac_status); }; }; then 22055 libreplace_cv_STRPTIME_OK=yes 22056 else 22057 echo "$as_me: program exited with status $ac_status" >&5 22058 echo "$as_me: failed program was:" >&5 22059 sed 's/^/| /' conftest.$ac_ext >&5 22060 22061 ( exit $ac_status ) 22062 libreplace_cv_STRPTIME_OK=no 22063 fi 22064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 22065 fi 22066 22067 22068 22069 fi 22070 { echo "$as_me:$LINENO: result: $libreplace_cv_STRPTIME_OK" >&5 22071 echo "${ECHO_T}$libreplace_cv_STRPTIME_OK" >&6; } 22072 if test x"$libreplace_cv_STRPTIME_OK" != x"yes"; then 22073 22074 cat >>confdefs.h <<\_ACEOF 22075 #define REPLACE_STRPTIME 1 22076 _ACEOF 22077 22078 LIBREPLACEOBJ="${LIBREPLACEOBJ} strptime.o" 22079 fi 22080 21505 22081 21506 22082 … … 22490 23066 22491 23067 22492 22493 22494 22495 for ac_func in syslog memset setnetgrent getnetgrent endnetgrent memcpy 23068 for ac_func in syslog memset memcpy 22496 23069 do 22497 23070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` … … 60951 61524 ac_check_func_ext_save_LIBS=$LIBS 60952 61525 LIBS="$KRB5_LIBS $LIBS" 61526 { echo "$as_me:$LINENO: checking for krb5_verify_checksum" >&5 61527 echo $ECHO_N "checking for krb5_verify_checksum... $ECHO_C" >&6; } 61528 if test "${ac_cv_func_ext_krb5_verify_checksum+set}" = set; then 61529 echo $ECHO_N "(cached) $ECHO_C" >&6 61530 else 61531 cat >conftest.$ac_ext <<_ACEOF 61532 /* confdefs.h. */ 61533 _ACEOF 61534 cat confdefs.h >>conftest.$ac_ext 61535 cat >>conftest.$ac_ext <<_ACEOF 61536 /* end confdefs.h. */ 61537 /* Define krb5_verify_checksum to an innocuous variant, in case <limits.h> declares krb5_verify_checksum. 61538 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 61539 #define krb5_verify_checksum innocuous_krb5_verify_checksum 61540 61541 /* System header to define __stub macros and hopefully few prototypes, 61542 which can conflict with char krb5_verify_checksum (); below. 61543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 61544 <limits.h> exists even on freestanding compilers. */ 61545 61546 #ifdef __STDC__ 61547 # include <limits.h> 61548 #else 61549 # include <assert.h> 61550 #endif 61551 61552 #undef krb5_verify_checksum 61553 61554 /* Override any GCC internal prototype to avoid an error. 61555 Use char because int might match the return type of a GCC 61556 builtin and then its argument prototype would still apply. */ 61557 #ifdef __cplusplus 61558 extern "C" 61559 #endif 61560 char krb5_verify_checksum (); 61561 /* The GNU C library defines this for functions which it implements 61562 to always fail with ENOSYS. Some functions are actually named 61563 something starting with __ and the normal name is an alias. */ 61564 #if defined __stub_krb5_verify_checksum || defined __stub___krb5_verify_checksum 61565 choke me 61566 #endif 61567 61568 int 61569 main () 61570 { 61571 return krb5_verify_checksum (); 61572 ; 61573 return 0; 61574 } 61575 _ACEOF 61576 rm -f conftest.$ac_objext conftest$ac_exeext 61577 if { (ac_try="$ac_link" 61578 case "(($ac_try" in 61579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 61580 *) ac_try_echo=$ac_try;; 61581 esac 61582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 61583 (eval "$ac_link") 2>conftest.er1 61584 ac_status=$? 61585 grep -v '^ *+' conftest.er1 >conftest.err 61586 rm -f conftest.er1 61587 cat conftest.err >&5 61588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 61589 (exit $ac_status); } && 61590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 61591 { (case "(($ac_try" in 61592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 61593 *) ac_try_echo=$ac_try;; 61594 esac 61595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 61596 (eval "$ac_try") 2>&5 61597 ac_status=$? 61598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 61599 (exit $ac_status); }; } && 61600 { ac_try='test -s conftest$ac_exeext' 61601 { (case "(($ac_try" in 61602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 61603 *) ac_try_echo=$ac_try;; 61604 esac 61605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 61606 (eval "$ac_try") 2>&5 61607 ac_status=$? 61608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 61609 (exit $ac_status); }; }; then 61610 ac_cv_func_ext_krb5_verify_checksum=yes 61611 else 61612 echo "$as_me: failed program was:" >&5 61613 sed 's/^/| /' conftest.$ac_ext >&5 61614 61615 ac_cv_func_ext_krb5_verify_checksum=no 61616 fi 61617 61618 rm -f core conftest.err conftest.$ac_objext \ 61619 conftest$ac_exeext conftest.$ac_ext 61620 fi 61621 { echo "$as_me:$LINENO: result: $ac_cv_func_ext_krb5_verify_checksum" >&5 61622 echo "${ECHO_T}$ac_cv_func_ext_krb5_verify_checksum" >&6; } 61623 LIBS=$ac_check_func_ext_save_LIBS 61624 if test $ac_cv_func_ext_krb5_verify_checksum = yes; then 61625 cat >>confdefs.h <<_ACEOF 61626 #define HAVE_KRB5_VERIFY_CHECKSUM 1 61627 _ACEOF 61628 61629 fi 61630 61631 61632 61633 61634 ac_check_func_ext_save_LIBS=$LIBS 61635 LIBS="$KRB5_LIBS $LIBS" 60953 61636 { echo "$as_me:$LINENO: checking for krb5_c_verify_checksum" >&5 60954 61637 echo $ECHO_N "checking for krb5_c_verify_checksum... $ECHO_C" >&6; } … … 62241 62924 cat >>confdefs.h <<\_ACEOF 62242 62925 #define KRB5_TICKET_HAS_KEYINFO 1 62926 _ACEOF 62927 62928 fi 62929 62930 { echo "$as_me:$LINENO: checking whether krb5_get_init_creds_opt_free takes a context argument" >&5 62931 echo $ECHO_N "checking whether krb5_get_init_creds_opt_free takes a context argument... $ECHO_C" >&6; } 62932 if test "${smb_krb5_creds_opt_free_context+set}" = set; then 62933 echo $ECHO_N "(cached) $ECHO_C" >&6 62934 else 62935 62936 cat >conftest.$ac_ext <<_ACEOF 62937 /* confdefs.h. */ 62938 _ACEOF 62939 cat confdefs.h >>conftest.$ac_ext 62940 cat >>conftest.$ac_ext <<_ACEOF 62941 /* end confdefs.h. */ 62942 62943 #include <krb5.h> 62944 int 62945 main () 62946 { 62947 62948 krb5_context ctx; 62949 krb5_get_init_creds_opt *opt = NULL; 62950 krb5_get_init_creds_opt_free(ctx, opt); 62951 62952 ; 62953 return 0; 62954 } 62955 _ACEOF 62956 rm -f conftest.$ac_objext 62957 if { (ac_try="$ac_compile" 62958 case "(($ac_try" in 62959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 62960 *) ac_try_echo=$ac_try;; 62961 esac 62962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 62963 (eval "$ac_compile") 2>conftest.er1 62964 ac_status=$? 62965 grep -v '^ *+' conftest.er1 >conftest.err 62966 rm -f conftest.er1 62967 cat conftest.err >&5 62968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 62969 (exit $ac_status); } && 62970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 62971 { (case "(($ac_try" in 62972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 62973 *) ac_try_echo=$ac_try;; 62974 esac 62975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 62976 (eval "$ac_try") 2>&5 62977 ac_status=$? 62978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 62979 (exit $ac_status); }; } && 62980 { ac_try='test -s conftest.$ac_objext' 62981 { (case "(($ac_try" in 62982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 62983 *) ac_try_echo=$ac_try;; 62984 esac 62985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 62986 (eval "$ac_try") 2>&5 62987 ac_status=$? 62988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 62989 (exit $ac_status); }; }; then 62990 smb_krb5_creds_opt_free_context=yes 62991 else 62992 echo "$as_me: failed program was:" >&5 62993 sed 's/^/| /' conftest.$ac_ext >&5 62994 62995 smb_krb5_creds_opt_free_context=no 62996 62997 fi 62998 62999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 63000 63001 fi 63002 { echo "$as_me:$LINENO: result: $smb_krb5_creds_opt_free_context" >&5 63003 echo "${ECHO_T}$smb_krb5_creds_opt_free_context" >&6; } 63004 63005 if test x"$smb_krb5_creds_opt_free_context" = x"yes" ; then 63006 63007 cat >>confdefs.h <<\_ACEOF 63008 #define KRB5_CREDS_OPT_FREE_REQUIRES_CONTEXT 1 62243 63009 _ACEOF 62244 63010 … … 72306 73072 72307 73073 73074 if test $BLDSHARED = true -a x"$HAVE_WINBIND" = x"yes"; then 73075 NSS_MODULES="${WINBIND_NSS} ${WINBIND_WINS_NSS}" 73076 fi 73077 72308 73078 72309 73079 … … 76712 77482 config_files="$ac_config_files" 76713 77483 config_headers="$ac_config_headers" 77484 config_commands="$ac_config_commands" 76714 77485 76715 77486 _ACEOF … … 76737 77508 Configuration headers: 76738 77509 $config_headers 77510 77511 Configuration commands: 77512 $config_commands 76739 77513 76740 77514 Report bugs to <bug-autoconf@gnu.org>." … … 76843 77617 _ACEOF 76844 77618 cat >>$CONFIG_STATUS <<_ACEOF 77619 # 77620 # INIT-COMMANDS 77621 # 77622 libreplacedir=$libreplacedir 77623 libreplacedir=$libreplacedir 77624 libreplacedir=$libreplacedir 77625 libreplacedir=$libreplacedir 77626 76845 77627 _ACEOF 76846 77628 … … 76852 77634 case $ac_config_target in 76853 77635 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; 77636 "rm-stdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rm-stdint.h" ;; 77637 "mk-stdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS mk-stdint.h" ;; 77638 "rm-stdbool.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rm-stdbool.h" ;; 77639 "mk-stdbool.h") CONFIG_COMMANDS="$CONFIG_COMMANDS mk-stdbool.h" ;; 76854 77640 "include/stamp-h") CONFIG_FILES="$CONFIG_FILES include/stamp-h" ;; 76855 77641 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; … … 76874 77660 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 76875 77661 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 77662 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 76876 77663 fi 76877 77664 … … 77060 77847 INSTALL_PAM_MODULES!$INSTALL_PAM_MODULES$ac_delim 77061 77848 UNINSTALL_PAM_MODULES!$UNINSTALL_PAM_MODULES$ac_delim 77849 NSS_MODULES!$NSS_MODULES$ac_delim 77062 77850 EXTRA_BIN_PROGS!$EXTRA_BIN_PROGS$ac_delim 77063 77851 SMBMOUNT_PROGS!$SMBMOUNT_PROGS$ac_delim … … 77139 77927 _ACEOF 77140 77928 77141 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then77929 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then 77142 77930 break 77143 77931 elif $ac_last_try; then … … 77196 77984 77197 77985 77198 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 77986 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 77199 77987 do 77200 77988 case $ac_tag in … … 77535 78323 ;; 77536 78324 77537 78325 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 78326 echo "$as_me: executing $ac_file commands" >&6;} 78327 ;; 77538 78328 esac 77539 78329 78330 78331 case $ac_file$ac_mode in 78332 "rm-stdint.h":C) rm -f $libreplacedir/stdint.h ;; 78333 "mk-stdint.h":C) echo "#include \"replace.h\"" > $libreplacedir/stdint.h ;; 78334 "rm-stdbool.h":C) rm -f $libreplacedir/stdbool.h ;; 78335 "mk-stdbool.h":C) echo "#include \"replace.h\"" > $libreplacedir/stdbool.h ;; 78336 78337 esac 77540 78338 done # for ac_tag 77541 78339
Note: See TracChangeset
for help on using the changeset viewer.