Changeset 921 for pjproject/trunk/aconfigure
- Timestamp:
- Feb 1, 2007 12:36:52 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r910 r921 5397 5397 cat >>confdefs.h <<\_ACEOF 5398 5398 #define PJ_HAS_NETINET_IN_H 1 5399 _ACEOF 5400 5401 fi 5402 5403 5404 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 5405 echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 5406 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6 5407 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 5408 echo $ECHO_N "(cached) $ECHO_C" >&6 5409 fi 5410 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 5411 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6 5412 else 5413 # Is the header compilable? 5414 echo "$as_me:$LINENO: checking netinet/ip.h usability" >&5 5415 echo $ECHO_N "checking netinet/ip.h usability... $ECHO_C" >&6 5416 cat >conftest.$ac_ext <<_ACEOF 5417 /* confdefs.h. */ 5418 _ACEOF 5419 cat confdefs.h >>conftest.$ac_ext 5420 cat >>conftest.$ac_ext <<_ACEOF 5421 /* end confdefs.h. */ 5422 $ac_includes_default 5423 #include <netinet/ip.h> 5424 _ACEOF 5425 rm -f conftest.$ac_objext 5426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5427 (eval $ac_compile) 2>conftest.er1 5428 ac_status=$? 5429 grep -v '^ *+' conftest.er1 >conftest.err 5430 rm -f conftest.er1 5431 cat conftest.err >&5 5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5433 (exit $ac_status); } && 5434 { ac_try='test -z "$ac_c_werror_flag" 5435 || test ! -s conftest.err' 5436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5437 (eval $ac_try) 2>&5 5438 ac_status=$? 5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5440 (exit $ac_status); }; } && 5441 { ac_try='test -s conftest.$ac_objext' 5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5443 (eval $ac_try) 2>&5 5444 ac_status=$? 5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5446 (exit $ac_status); }; }; then 5447 ac_header_compiler=yes 5448 else 5449 echo "$as_me: failed program was:" >&5 5450 sed 's/^/| /' conftest.$ac_ext >&5 5451 5452 ac_header_compiler=no 5453 fi 5454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5456 echo "${ECHO_T}$ac_header_compiler" >&6 5457 5458 # Is the header present? 5459 echo "$as_me:$LINENO: checking netinet/ip.h presence" >&5 5460 echo $ECHO_N "checking netinet/ip.h presence... $ECHO_C" >&6 5461 cat >conftest.$ac_ext <<_ACEOF 5462 /* confdefs.h. */ 5463 _ACEOF 5464 cat confdefs.h >>conftest.$ac_ext 5465 cat >>conftest.$ac_ext <<_ACEOF 5466 /* end confdefs.h. */ 5467 #include <netinet/ip.h> 5468 _ACEOF 5469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5471 ac_status=$? 5472 grep -v '^ *+' conftest.er1 >conftest.err 5473 rm -f conftest.er1 5474 cat conftest.err >&5 5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5476 (exit $ac_status); } >/dev/null; then 5477 if test -s conftest.err; then 5478 ac_cpp_err=$ac_c_preproc_warn_flag 5479 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5480 else 5481 ac_cpp_err= 5482 fi 5483 else 5484 ac_cpp_err=yes 5485 fi 5486 if test -z "$ac_cpp_err"; then 5487 ac_header_preproc=yes 5488 else 5489 echo "$as_me: failed program was:" >&5 5490 sed 's/^/| /' conftest.$ac_ext >&5 5491 5492 ac_header_preproc=no 5493 fi 5494 rm -f conftest.err conftest.$ac_ext 5495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5496 echo "${ECHO_T}$ac_header_preproc" >&6 5497 5498 # So? What about this header? 5499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5500 yes:no: ) 5501 { echo "$as_me:$LINENO: WARNING: netinet/ip.h: accepted by the compiler, rejected by the preprocessor!" >&5 5502 echo "$as_me: WARNING: netinet/ip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5503 { echo "$as_me:$LINENO: WARNING: netinet/ip.h: proceeding with the compiler's result" >&5 5504 echo "$as_me: WARNING: netinet/ip.h: proceeding with the compiler's result" >&2;} 5505 ac_header_preproc=yes 5506 ;; 5507 no:yes:* ) 5508 { echo "$as_me:$LINENO: WARNING: netinet/ip.h: present but cannot be compiled" >&5 5509 echo "$as_me: WARNING: netinet/ip.h: present but cannot be compiled" >&2;} 5510 { echo "$as_me:$LINENO: WARNING: netinet/ip.h: check for missing prerequisite headers?" >&5 5511 echo "$as_me: WARNING: netinet/ip.h: check for missing prerequisite headers?" >&2;} 5512 { echo "$as_me:$LINENO: WARNING: netinet/ip.h: see the Autoconf documentation" >&5 5513 echo "$as_me: WARNING: netinet/ip.h: see the Autoconf documentation" >&2;} 5514 { echo "$as_me:$LINENO: WARNING: netinet/ip.h: section \"Present But Cannot Be Compiled\"" >&5 5515 echo "$as_me: WARNING: netinet/ip.h: section \"Present But Cannot Be Compiled\"" >&2;} 5516 { echo "$as_me:$LINENO: WARNING: netinet/ip.h: proceeding with the preprocessor's result" >&5 5517 echo "$as_me: WARNING: netinet/ip.h: proceeding with the preprocessor's result" >&2;} 5518 { echo "$as_me:$LINENO: WARNING: netinet/ip.h: in the future, the compiler will take precedence" >&5 5519 echo "$as_me: WARNING: netinet/ip.h: in the future, the compiler will take precedence" >&2;} 5520 ( 5521 cat <<\_ASBOX 5522 ## ------------------------------------ ## 5523 ## Report this to the pjproject lists. ## 5524 ## ------------------------------------ ## 5525 _ASBOX 5526 ) | 5527 sed "s/^/$as_me: WARNING: /" >&2 5528 ;; 5529 esac 5530 echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 5531 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6 5532 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 5533 echo $ECHO_N "(cached) $ECHO_C" >&6 5534 else 5535 ac_cv_header_netinet_ip_h=$ac_header_preproc 5536 fi 5537 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 5538 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6 5539 5540 fi 5541 if test $ac_cv_header_netinet_ip_h = yes; then 5542 cat >>confdefs.h <<\_ACEOF 5543 #define PJ_HAS_NETINET_IP_H 1 5399 5544 _ACEOF 5400 5545
Note: See TracChangeset
for help on using the changeset viewer.