Changeset 312 for branches/samba-3.0/source/configure
- Timestamp:
- Aug 5, 2009, 6:34:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/configure
r286 r312 14036 14036 14037 14037 14038 14039 14040 14041 for ac_header in netinet/ip.h netinet/tcp.h netinet/in_systm.h netinet/in_ip.h 14038 for ac_header in netinet/in_systm.h 14039 do 14040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14042 { echo "$as_me:$LINENO: checking for $ac_header" >&5 14043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 14044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14045 echo $ECHO_N "(cached) $ECHO_C" >&6 14046 fi 14047 ac_res=`eval echo '${'$as_ac_Header'}'` 14048 { echo "$as_me:$LINENO: result: $ac_res" >&5 14049 echo "${ECHO_T}$ac_res" >&6; } 14050 else 14051 # Is the header compilable? 14052 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 14053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 14054 cat >conftest.$ac_ext <<_ACEOF 14055 /* confdefs.h. */ 14056 _ACEOF 14057 cat confdefs.h >>conftest.$ac_ext 14058 cat >>conftest.$ac_ext <<_ACEOF 14059 /* end confdefs.h. */ 14060 $ac_includes_default 14061 #include <$ac_header> 14062 _ACEOF 14063 rm -f conftest.$ac_objext 14064 if { (ac_try="$ac_compile" 14065 case "(($ac_try" in 14066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14067 *) ac_try_echo=$ac_try;; 14068 esac 14069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14070 (eval "$ac_compile") 2>conftest.er1 14071 ac_status=$? 14072 grep -v '^ *+' conftest.er1 >conftest.err 14073 rm -f conftest.er1 14074 cat conftest.err >&5 14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14076 (exit $ac_status); } && { 14077 test -z "$ac_c_werror_flag" || 14078 test ! -s conftest.err 14079 } && test -s conftest.$ac_objext; then 14080 ac_header_compiler=yes 14081 else 14082 echo "$as_me: failed program was:" >&5 14083 sed 's/^/| /' conftest.$ac_ext >&5 14084 14085 ac_header_compiler=no 14086 fi 14087 14088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14089 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14090 echo "${ECHO_T}$ac_header_compiler" >&6; } 14091 14092 # Is the header present? 14093 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 14094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 14095 cat >conftest.$ac_ext <<_ACEOF 14096 /* confdefs.h. */ 14097 _ACEOF 14098 cat confdefs.h >>conftest.$ac_ext 14099 cat >>conftest.$ac_ext <<_ACEOF 14100 /* end confdefs.h. */ 14101 #include <$ac_header> 14102 _ACEOF 14103 if { (ac_try="$ac_cpp conftest.$ac_ext" 14104 case "(($ac_try" in 14105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14106 *) ac_try_echo=$ac_try;; 14107 esac 14108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14110 ac_status=$? 14111 grep -v '^ *+' conftest.er1 >conftest.err 14112 rm -f conftest.er1 14113 cat conftest.err >&5 14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14115 (exit $ac_status); } >/dev/null && { 14116 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14117 test ! -s conftest.err 14118 }; then 14119 ac_header_preproc=yes 14120 else 14121 echo "$as_me: failed program was:" >&5 14122 sed 's/^/| /' conftest.$ac_ext >&5 14123 14124 ac_header_preproc=no 14125 fi 14126 14127 rm -f conftest.err conftest.$ac_ext 14128 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14129 echo "${ECHO_T}$ac_header_preproc" >&6; } 14130 14131 # So? What about this header? 14132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14133 yes:no: ) 14134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 14135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 14136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 14137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 14138 ac_header_preproc=yes 14139 ;; 14140 no:yes:* ) 14141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 14142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 14143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 14144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 14145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 14146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 14147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 14148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 14149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 14150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14153 14154 ;; 14155 esac 14156 { echo "$as_me:$LINENO: checking for $ac_header" >&5 14157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 14158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14159 echo $ECHO_N "(cached) $ECHO_C" >&6 14160 else 14161 eval "$as_ac_Header=\$ac_header_preproc" 14162 fi 14163 ac_res=`eval echo '${'$as_ac_Header'}'` 14164 { echo "$as_me:$LINENO: result: $ac_res" >&5 14165 echo "${ECHO_T}$ac_res" >&6; } 14166 14167 fi 14168 if test `eval echo '${'$as_ac_Header'}'` = yes; then 14169 cat >>confdefs.h <<_ACEOF 14170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14171 _ACEOF 14172 14173 fi 14174 14175 done 14176 14177 14178 for ac_header in netinet/ip.h 14179 do 14180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14181 { echo "$as_me:$LINENO: checking for $ac_header" >&5 14182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 14183 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14184 echo $ECHO_N "(cached) $ECHO_C" >&6 14185 else 14186 cat >conftest.$ac_ext <<_ACEOF 14187 /* confdefs.h. */ 14188 _ACEOF 14189 cat confdefs.h >>conftest.$ac_ext 14190 cat >>conftest.$ac_ext <<_ACEOF 14191 /* end confdefs.h. */ 14192 #ifdef HAVE_NETINET_IN_H 14193 #include <netinet/in.h> 14194 #endif 14195 #ifdef HAVE_NETINET_IN_SYSTM_H 14196 #include <netinet/in_systm.h> 14197 #endif 14198 14199 #include <$ac_header> 14200 _ACEOF 14201 rm -f conftest.$ac_objext 14202 if { (ac_try="$ac_compile" 14203 case "(($ac_try" in 14204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14205 *) ac_try_echo=$ac_try;; 14206 esac 14207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14208 (eval "$ac_compile") 2>conftest.er1 14209 ac_status=$? 14210 grep -v '^ *+' conftest.er1 >conftest.err 14211 rm -f conftest.er1 14212 cat conftest.err >&5 14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14214 (exit $ac_status); } && { 14215 test -z "$ac_c_werror_flag" || 14216 test ! -s conftest.err 14217 } && test -s conftest.$ac_objext; then 14218 eval "$as_ac_Header=yes" 14219 else 14220 echo "$as_me: failed program was:" >&5 14221 sed 's/^/| /' conftest.$ac_ext >&5 14222 14223 eval "$as_ac_Header=no" 14224 fi 14225 14226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14227 fi 14228 ac_res=`eval echo '${'$as_ac_Header'}'` 14229 { echo "$as_me:$LINENO: result: $ac_res" >&5 14230 echo "${ECHO_T}$ac_res" >&6; } 14231 if test `eval echo '${'$as_ac_Header'}'` = yes; then 14232 cat >>confdefs.h <<_ACEOF 14233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14234 _ACEOF 14235 14236 fi 14237 14238 done 14239 14240 14241 14242 for ac_header in netinet/tcp.h netinet/in_ip.h 14042 14243 do 14043 14244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
Note:
See TracChangeset
for help on using the changeset viewer.