Changeset 1585 for pjproject/trunk/aconfigure
- Timestamp:
- Nov 18, 2007 2:53:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r1584 r1585 8495 8495 8496 8496 8497 echo "$as_me:$LINENO: checking if inet_aton is available" >&58498 echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&68497 echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 8498 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6 8499 8499 cat >conftest.$ac_ext <<_ACEOF 8500 8500 /* confdefs.h. */ … … 8503 8503 cat >>conftest.$ac_ext <<_ACEOF 8504 8504 /* end confdefs.h. */ 8505 #include <arpa/inet.h> 8505 #include <sys/types.h> 8506 #include <sys/socket.h> 8507 #include <arpa/inet.h> 8506 8508 int 8507 8509 main () … … 8536 8538 cat >>confdefs.h <<\_ACEOF 8537 8539 #define PJ_SOCK_HAS_INET_ATON 1 8540 _ACEOF 8541 8542 echo "$as_me:$LINENO: result: yes" >&5 8543 echo "${ECHO_T}yes" >&6 8544 else 8545 echo "$as_me: failed program was:" >&5 8546 sed 's/^/| /' conftest.$ac_ext >&5 8547 8548 echo "$as_me:$LINENO: result: no" >&5 8549 echo "${ECHO_T}no" >&6 8550 fi 8551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8552 8553 echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 8554 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6 8555 cat >conftest.$ac_ext <<_ACEOF 8556 /* confdefs.h. */ 8557 _ACEOF 8558 cat confdefs.h >>conftest.$ac_ext 8559 cat >>conftest.$ac_ext <<_ACEOF 8560 /* end confdefs.h. */ 8561 #include <sys/types.h> 8562 #include <sys/socket.h> 8563 #include <arpa/inet.h> 8564 int 8565 main () 8566 { 8567 inet_pton(0, 0, 0); 8568 ; 8569 return 0; 8570 } 8571 _ACEOF 8572 rm -f conftest.$ac_objext 8573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8574 (eval $ac_compile) 2>conftest.er1 8575 ac_status=$? 8576 grep -v '^ *+' conftest.er1 >conftest.err 8577 rm -f conftest.er1 8578 cat conftest.err >&5 8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8580 (exit $ac_status); } && 8581 { ac_try='test -z "$ac_c_werror_flag" 8582 || test ! -s conftest.err' 8583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8584 (eval $ac_try) 2>&5 8585 ac_status=$? 8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8587 (exit $ac_status); }; } && 8588 { ac_try='test -s conftest.$ac_objext' 8589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8590 (eval $ac_try) 2>&5 8591 ac_status=$? 8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8593 (exit $ac_status); }; }; then 8594 cat >>confdefs.h <<\_ACEOF 8595 #define PJ_SOCK_HAS_INET_PTON 1 8596 _ACEOF 8597 8598 echo "$as_me:$LINENO: result: yes" >&5 8599 echo "${ECHO_T}yes" >&6 8600 else 8601 echo "$as_me: failed program was:" >&5 8602 sed 's/^/| /' conftest.$ac_ext >&5 8603 8604 echo "$as_me:$LINENO: result: no" >&5 8605 echo "${ECHO_T}no" >&6 8606 fi 8607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8608 8609 echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 8610 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6 8611 cat >conftest.$ac_ext <<_ACEOF 8612 /* confdefs.h. */ 8613 _ACEOF 8614 cat confdefs.h >>conftest.$ac_ext 8615 cat >>conftest.$ac_ext <<_ACEOF 8616 /* end confdefs.h. */ 8617 #include <sys/types.h> 8618 #include <sys/socket.h> 8619 #include <arpa/inet.h> 8620 int 8621 main () 8622 { 8623 inet_ntop(0, 0, 0, 0); 8624 ; 8625 return 0; 8626 } 8627 _ACEOF 8628 rm -f conftest.$ac_objext 8629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8630 (eval $ac_compile) 2>conftest.er1 8631 ac_status=$? 8632 grep -v '^ *+' conftest.er1 >conftest.err 8633 rm -f conftest.er1 8634 cat conftest.err >&5 8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8636 (exit $ac_status); } && 8637 { ac_try='test -z "$ac_c_werror_flag" 8638 || test ! -s conftest.err' 8639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8640 (eval $ac_try) 2>&5 8641 ac_status=$? 8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8643 (exit $ac_status); }; } && 8644 { ac_try='test -s conftest.$ac_objext' 8645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8646 (eval $ac_try) 2>&5 8647 ac_status=$? 8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8649 (exit $ac_status); }; }; then 8650 cat >>confdefs.h <<\_ACEOF 8651 #define PJ_SOCK_HAS_INET_NTOP 1 8652 _ACEOF 8653 8654 echo "$as_me:$LINENO: result: yes" >&5 8655 echo "${ECHO_T}yes" >&6 8656 else 8657 echo "$as_me: failed program was:" >&5 8658 sed 's/^/| /' conftest.$ac_ext >&5 8659 8660 echo "$as_me:$LINENO: result: no" >&5 8661 echo "${ECHO_T}no" >&6 8662 fi 8663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8664 8665 echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 8666 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6 8667 cat >conftest.$ac_ext <<_ACEOF 8668 /* confdefs.h. */ 8669 _ACEOF 8670 cat confdefs.h >>conftest.$ac_ext 8671 cat >>conftest.$ac_ext <<_ACEOF 8672 /* end confdefs.h. */ 8673 #include <sys/types.h> 8674 #include <sys/socket.h> 8675 #include <netdb.h> 8676 int 8677 main () 8678 { 8679 getaddrinfo(0, 0, 0, 0); 8680 ; 8681 return 0; 8682 } 8683 _ACEOF 8684 rm -f conftest.$ac_objext 8685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8686 (eval $ac_compile) 2>conftest.er1 8687 ac_status=$? 8688 grep -v '^ *+' conftest.er1 >conftest.err 8689 rm -f conftest.er1 8690 cat conftest.err >&5 8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8692 (exit $ac_status); } && 8693 { ac_try='test -z "$ac_c_werror_flag" 8694 || test ! -s conftest.err' 8695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8696 (eval $ac_try) 2>&5 8697 ac_status=$? 8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8699 (exit $ac_status); }; } && 8700 { ac_try='test -s conftest.$ac_objext' 8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8702 (eval $ac_try) 2>&5 8703 ac_status=$? 8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8705 (exit $ac_status); }; }; then 8706 cat >>confdefs.h <<\_ACEOF 8707 #define PJ_SOCK_HAS_GETADDRINFO 1 8538 8708 _ACEOF 8539 8709 … … 11234 11404 echo "$as_me:$LINENO: result: 11235 11405 11236 The configuration for current target has been written to 'build.mak', and 'os-auto.mak' in various build directories.11237 11238 Customizations can be put in:11406 Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. 11407 11408 Further customizations can be put in: 11239 11409 - 'user.mak' 11240 11410 - 'pjlib/include/pj/config_site.h' … … 11244 11414 echo "${ECHO_T} 11245 11415 11246 The configuration for current target has been written to 'build.mak', and 'os-auto.mak' in various build directories.11247 11248 Customizations can be put in:11416 Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. 11417 11418 Further customizations can be put in: 11249 11419 - 'user.mak' 11250 11420 - 'pjlib/include/pj/config_site.h'
Note: See TracChangeset
for help on using the changeset viewer.