Changeset 1892 for pjproject/trunk/aconfigure
- Timestamp:
- Mar 25, 2008 2:03:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r1891 r1892 8313 8313 8314 8314 8315 if test "${ac_cv_header_mswsock_h+set}" = set; then8316 echo "$as_me:$LINENO: checking for mswsock.h" >&58317 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&68318 if test "${ac_cv_header_mswsock_h+set}" = set; then8319 echo $ECHO_N "(cached) $ECHO_C" >&68320 fi8321 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&58322 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&68323 else8324 # Is the header compilable?8325 echo "$as_me:$LINENO: checking mswsock.h usability" >&58326 echo $ECHO_N "checking mswsock.h usability... $ECHO_C" >&68327 cat >conftest.$ac_ext <<_ACEOF8328 /* confdefs.h. */8329 _ACEOF8330 cat confdefs.h >>conftest.$ac_ext8331 cat >>conftest.$ac_ext <<_ACEOF8332 /* end confdefs.h. */8333 $ac_includes_default8334 #include <mswsock.h>8335 _ACEOF8336 rm -f conftest.$ac_objext8337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&58338 (eval $ac_compile) 2>conftest.er18339 ac_status=$?8340 grep -v '^ *+' conftest.er1 >conftest.err8341 rm -f conftest.er18342 cat conftest.err >&58343 echo "$as_me:$LINENO: \$? = $ac_status" >&58344 (exit $ac_status); } &&8345 { ac_try='test -z "$ac_c_werror_flag"8346 || test ! -s conftest.err'8347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58348 (eval $ac_try) 2>&58349 ac_status=$?8350 echo "$as_me:$LINENO: \$? = $ac_status" >&58351 (exit $ac_status); }; } &&8352 { ac_try='test -s conftest.$ac_objext'8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58354 (eval $ac_try) 2>&58355 ac_status=$?8356 echo "$as_me:$LINENO: \$? = $ac_status" >&58357 (exit $ac_status); }; }; then8358 ac_header_compiler=yes8359 else8360 echo "$as_me: failed program was:" >&58361 sed 's/^/| /' conftest.$ac_ext >&58362 8363 ac_header_compiler=no8364 fi8365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext8366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&58367 echo "${ECHO_T}$ac_header_compiler" >&68368 8369 # Is the header present?8370 echo "$as_me:$LINENO: checking mswsock.h presence" >&58371 echo $ECHO_N "checking mswsock.h presence... $ECHO_C" >&68372 cat >conftest.$ac_ext <<_ACEOF8373 /* confdefs.h. */8374 _ACEOF8375 cat confdefs.h >>conftest.$ac_ext8376 cat >>conftest.$ac_ext <<_ACEOF8377 /* end confdefs.h. */8378 #include <mswsock.h>8379 _ACEOF8380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&58381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er18382 ac_status=$?8383 grep -v '^ *+' conftest.er1 >conftest.err8384 rm -f conftest.er18385 cat conftest.err >&58386 echo "$as_me:$LINENO: \$? = $ac_status" >&58387 (exit $ac_status); } >/dev/null; then8388 if test -s conftest.err; then8389 ac_cpp_err=$ac_c_preproc_warn_flag8390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag8391 else8392 ac_cpp_err=8393 fi8394 else8395 ac_cpp_err=yes8396 fi8397 if test -z "$ac_cpp_err"; then8398 ac_header_preproc=yes8399 else8400 echo "$as_me: failed program was:" >&58401 sed 's/^/| /' conftest.$ac_ext >&58402 8403 ac_header_preproc=no8404 fi8405 rm -f conftest.err conftest.$ac_ext8406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&58407 echo "${ECHO_T}$ac_header_preproc" >&68408 8409 # So? What about this header?8410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in8411 yes:no: )8412 { echo "$as_me:$LINENO: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&58413 echo "$as_me: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;}8414 { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the compiler's result" >&58415 echo "$as_me: WARNING: mswsock.h: proceeding with the compiler's result" >&2;}8416 ac_header_preproc=yes8417 ;;8418 no:yes:* )8419 { echo "$as_me:$LINENO: WARNING: mswsock.h: present but cannot be compiled" >&58420 echo "$as_me: WARNING: mswsock.h: present but cannot be compiled" >&2;}8421 { echo "$as_me:$LINENO: WARNING: mswsock.h: check for missing prerequisite headers?" >&58422 echo "$as_me: WARNING: mswsock.h: check for missing prerequisite headers?" >&2;}8423 { echo "$as_me:$LINENO: WARNING: mswsock.h: see the Autoconf documentation" >&58424 echo "$as_me: WARNING: mswsock.h: see the Autoconf documentation" >&2;}8425 { echo "$as_me:$LINENO: WARNING: mswsock.h: section \"Present But Cannot Be Compiled\"" >&58426 echo "$as_me: WARNING: mswsock.h: section \"Present But Cannot Be Compiled\"" >&2;}8427 { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the preprocessor's result" >&58428 echo "$as_me: WARNING: mswsock.h: proceeding with the preprocessor's result" >&2;}8429 { echo "$as_me:$LINENO: WARNING: mswsock.h: in the future, the compiler will take precedence" >&58430 echo "$as_me: WARNING: mswsock.h: in the future, the compiler will take precedence" >&2;}8431 (8432 cat <<\_ASBOX8433 ## ------------------------------------ ##8434 ## Report this to the pjproject lists. ##8435 ## ------------------------------------ ##8436 _ASBOX8437 ) |8438 sed "s/^/$as_me: WARNING: /" >&28439 ;;8440 esac8441 echo "$as_me:$LINENO: checking for mswsock.h" >&58442 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&68443 if test "${ac_cv_header_mswsock_h+set}" = set; then8444 echo $ECHO_N "(cached) $ECHO_C" >&68445 else8446 ac_cv_header_mswsock_h=$ac_header_preproc8447 fi8448 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&58449 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&68450 8451 fi8452 if test $ac_cv_header_mswsock_h = yes; then8453 cat >>confdefs.h <<\_ACEOF8454 #define PJ_HAS_MSWSOCK_H 18455 _ACEOF8456 8457 fi8458 8459 8460 8315 if test "${ac_cv_header_winsock_h+set}" = set; then 8461 8316 echo "$as_me:$LINENO: checking for winsock.h" >&5 … … 8748 8603 8749 8604 8605 echo "$as_me:$LINENO: checking for mswsock.h" >&5 8606 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 8607 if test "${ac_cv_header_mswsock_h+set}" = set; then 8608 echo $ECHO_N "(cached) $ECHO_C" >&6 8609 else 8610 cat >conftest.$ac_ext <<_ACEOF 8611 /* confdefs.h. */ 8612 _ACEOF 8613 cat confdefs.h >>conftest.$ac_ext 8614 cat >>conftest.$ac_ext <<_ACEOF 8615 /* end confdefs.h. */ 8616 #if PJ_HAS_WINSOCK2_H 8617 # include <winsock2.h> 8618 #elif PJ_HAS_WINSOCK_H 8619 # include <winsock.h> 8620 #endif 8621 8622 8623 #include <mswsock.h> 8624 _ACEOF 8625 rm -f conftest.$ac_objext 8626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8627 (eval $ac_compile) 2>conftest.er1 8628 ac_status=$? 8629 grep -v '^ *+' conftest.er1 >conftest.err 8630 rm -f conftest.er1 8631 cat conftest.err >&5 8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8633 (exit $ac_status); } && 8634 { ac_try='test -z "$ac_c_werror_flag" 8635 || test ! -s conftest.err' 8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8637 (eval $ac_try) 2>&5 8638 ac_status=$? 8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8640 (exit $ac_status); }; } && 8641 { ac_try='test -s conftest.$ac_objext' 8642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8643 (eval $ac_try) 2>&5 8644 ac_status=$? 8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8646 (exit $ac_status); }; }; then 8647 ac_cv_header_mswsock_h=yes 8648 else 8649 echo "$as_me: failed program was:" >&5 8650 sed 's/^/| /' conftest.$ac_ext >&5 8651 8652 ac_cv_header_mswsock_h=no 8653 fi 8654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8655 fi 8656 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 8657 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 8658 if test $ac_cv_header_mswsock_h = yes; then 8659 cat >>confdefs.h <<\_ACEOF 8660 #define PJ_HAS_MSWSOCK_H 1 8661 _ACEOF 8662 8663 fi 8664 8665 8750 8666 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 8751 8667 echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 … … 8890 8806 8891 8807 8892 8893 for ac_header in net/if.h 8894 do 8895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8896 echo "$as_me:$LINENO: checking for $ac_header" >&5 8897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8898 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8808 echo "$as_me:$LINENO: checking for net/if.h" >&5 8809 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6 8810 if test "${ac_cv_header_net_if_h+set}" = set; then 8899 8811 echo $ECHO_N "(cached) $ECHO_C" >&6 8900 8812 else … … 8910 8822 8911 8823 8912 #include < $ac_header>8824 #include <net/if.h> 8913 8825 _ACEOF 8914 8826 rm -f conftest.$ac_objext … … 8934 8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8935 8847 (exit $ac_status); }; }; then 8936 eval "$as_ac_Header=yes"8848 ac_cv_header_net_if_h=yes 8937 8849 else 8938 8850 echo "$as_me: failed program was:" >&5 8939 8851 sed 's/^/| /' conftest.$ac_ext >&5 8940 8852 8941 eval "$as_ac_Header=no" 8853 ac_cv_header_net_if_h=no 8942 8854 fi 8943 8855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8944 8856 fi 8945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 8946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8947 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8948 cat >>confdefs.h <<_ACEOF 8949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8950 _ACEOF 8951 cat >>confdefs.h <<\_ACEOF 8857 echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 8858 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6 8859 if test $ac_cv_header_net_if_h = yes; then 8860 cat >>confdefs.h <<\_ACEOF 8952 8861 #define PJ_HAS_NET_IF_H 1 8953 8862 _ACEOF … … 8955 8864 fi 8956 8865 8957 done8958 8866 8959 8867
Note: See TracChangeset
for help on using the changeset viewer.