Changeset 1738 for pjproject/trunk/aconfigure
- Timestamp:
- Jan 24, 2008 3:27:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r1729 r1738 5510 5510 esac 5511 5511 5512 if test "${ac_cv_header_fcntl_h+set}" = set; then 5513 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5514 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5515 if test "${ac_cv_header_fcntl_h+set}" = set; then 5516 echo $ECHO_N "(cached) $ECHO_C" >&6 5517 fi 5518 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5519 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5520 else 5521 # Is the header compilable? 5522 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 5523 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 5524 cat >conftest.$ac_ext <<_ACEOF 5525 /* confdefs.h. */ 5526 _ACEOF 5527 cat confdefs.h >>conftest.$ac_ext 5528 cat >>conftest.$ac_ext <<_ACEOF 5529 /* end confdefs.h. */ 5530 $ac_includes_default 5531 #include <fcntl.h> 5532 _ACEOF 5533 rm -f conftest.$ac_objext 5534 if { (ac_try="$ac_compile" 5535 case "(($ac_try" in 5536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5537 *) ac_try_echo=$ac_try;; 5538 esac 5539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5540 (eval "$ac_compile") 2>conftest.er1 5541 ac_status=$? 5542 grep -v '^ *+' conftest.er1 >conftest.err 5543 rm -f conftest.er1 5544 cat conftest.err >&5 5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5546 (exit $ac_status); } && { 5547 test -z "$ac_c_werror_flag" || 5548 test ! -s conftest.err 5549 } && test -s conftest.$ac_objext; then 5550 ac_header_compiler=yes 5551 else 5552 echo "$as_me: failed program was:" >&5 5553 sed 's/^/| /' conftest.$ac_ext >&5 5554 5555 ac_header_compiler=no 5556 fi 5557 5558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5559 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5560 echo "${ECHO_T}$ac_header_compiler" >&6; } 5561 5562 # Is the header present? 5563 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 5564 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 5565 cat >conftest.$ac_ext <<_ACEOF 5566 /* confdefs.h. */ 5567 _ACEOF 5568 cat confdefs.h >>conftest.$ac_ext 5569 cat >>conftest.$ac_ext <<_ACEOF 5570 /* end confdefs.h. */ 5571 #include <fcntl.h> 5572 _ACEOF 5573 if { (ac_try="$ac_cpp conftest.$ac_ext" 5574 case "(($ac_try" in 5575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5576 *) ac_try_echo=$ac_try;; 5577 esac 5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5580 ac_status=$? 5581 grep -v '^ *+' conftest.er1 >conftest.err 5582 rm -f conftest.er1 5583 cat conftest.err >&5 5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5585 (exit $ac_status); } >/dev/null && { 5586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5587 test ! -s conftest.err 5588 }; then 5589 ac_header_preproc=yes 5590 else 5591 echo "$as_me: failed program was:" >&5 5592 sed 's/^/| /' conftest.$ac_ext >&5 5593 5594 ac_header_preproc=no 5595 fi 5596 5597 rm -f conftest.err conftest.$ac_ext 5598 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5599 echo "${ECHO_T}$ac_header_preproc" >&6; } 5600 5601 # So? What about this header? 5602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5603 yes:no: ) 5604 { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 5605 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5606 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 5607 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 5608 ac_header_preproc=yes 5609 ;; 5610 no:yes:* ) 5611 { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 5612 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 5613 { echo "$as_me:$LINENO: WARNING: fcntl.h: check for missing prerequisite headers?" >&5 5614 echo "$as_me: WARNING: fcntl.h: check for missing prerequisite headers?" >&2;} 5615 { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 5616 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 5617 { echo "$as_me:$LINENO: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&5 5618 echo "$as_me: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&2;} 5619 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 5620 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 5621 { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 5622 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 5623 5624 ;; 5625 esac 5626 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5627 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5628 if test "${ac_cv_header_fcntl_h+set}" = set; then 5629 echo $ECHO_N "(cached) $ECHO_C" >&6 5630 else 5631 ac_cv_header_fcntl_h=$ac_header_preproc 5632 fi 5633 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5634 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5635 5636 fi 5637 if test $ac_cv_header_fcntl_h = yes; then 5638 cat >>confdefs.h <<\_ACEOF 5639 #define PJ_HAS_FCNTL_H 1 5640 _ACEOF 5641 5642 fi 5643 5644 5512 5645 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5513 5646 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5
Note: See TracChangeset
for help on using the changeset viewer.