Ignore:
Timestamp:
Nov 18, 2007 2:53:47 PM (12 years ago)
Author:
bennylp
Message:

Ticket #415: implement IPv6 support in PJLIB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r1584 r1585  
    84958495 
    84968496 
    8497 echo "$as_me:$LINENO: checking if inet_aton is available" >&5 
    8498 echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 
     8497echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
     8498echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6 
    84998499cat >conftest.$ac_ext <<_ACEOF 
    85008500/* confdefs.h.  */ 
     
    85038503cat >>conftest.$ac_ext <<_ACEOF 
    85048504/* end confdefs.h.  */ 
    8505 #include <arpa/inet.h> 
     8505#include <sys/types.h> 
     8506                                     #include <sys/socket.h> 
     8507                                     #include <arpa/inet.h> 
    85068508int 
    85078509main () 
     
    85368538  cat >>confdefs.h <<\_ACEOF 
    85378539#define PJ_SOCK_HAS_INET_ATON 1 
     8540_ACEOF 
     8541 
     8542                   echo "$as_me:$LINENO: result: yes" >&5 
     8543echo "${ECHO_T}yes" >&6 
     8544else 
     8545  echo "$as_me: failed program was:" >&5 
     8546sed 's/^/| /' conftest.$ac_ext >&5 
     8547 
     8548echo "$as_me:$LINENO: result: no" >&5 
     8549echo "${ECHO_T}no" >&6 
     8550fi 
     8551rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     8552 
     8553echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
     8554echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6 
     8555cat >conftest.$ac_ext <<_ACEOF 
     8556/* confdefs.h.  */ 
     8557_ACEOF 
     8558cat confdefs.h >>conftest.$ac_ext 
     8559cat >>conftest.$ac_ext <<_ACEOF 
     8560/* end confdefs.h.  */ 
     8561#include <sys/types.h> 
     8562                                     #include <sys/socket.h> 
     8563                                     #include <arpa/inet.h> 
     8564int 
     8565main () 
     8566{ 
     8567inet_pton(0, 0, 0); 
     8568  ; 
     8569  return 0; 
     8570} 
     8571_ACEOF 
     8572rm -f conftest.$ac_objext 
     8573if { (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 
     8599echo "${ECHO_T}yes" >&6 
     8600else 
     8601  echo "$as_me: failed program was:" >&5 
     8602sed 's/^/| /' conftest.$ac_ext >&5 
     8603 
     8604echo "$as_me:$LINENO: result: no" >&5 
     8605echo "${ECHO_T}no" >&6 
     8606fi 
     8607rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     8608 
     8609echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
     8610echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6 
     8611cat >conftest.$ac_ext <<_ACEOF 
     8612/* confdefs.h.  */ 
     8613_ACEOF 
     8614cat confdefs.h >>conftest.$ac_ext 
     8615cat >>conftest.$ac_ext <<_ACEOF 
     8616/* end confdefs.h.  */ 
     8617#include <sys/types.h> 
     8618                                     #include <sys/socket.h> 
     8619                                     #include <arpa/inet.h> 
     8620int 
     8621main () 
     8622{ 
     8623inet_ntop(0, 0, 0, 0); 
     8624  ; 
     8625  return 0; 
     8626} 
     8627_ACEOF 
     8628rm -f conftest.$ac_objext 
     8629if { (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 
     8655echo "${ECHO_T}yes" >&6 
     8656else 
     8657  echo "$as_me: failed program was:" >&5 
     8658sed 's/^/| /' conftest.$ac_ext >&5 
     8659 
     8660echo "$as_me:$LINENO: result: no" >&5 
     8661echo "${ECHO_T}no" >&6 
     8662fi 
     8663rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     8664 
     8665echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
     8666echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6 
     8667cat >conftest.$ac_ext <<_ACEOF 
     8668/* confdefs.h.  */ 
     8669_ACEOF 
     8670cat confdefs.h >>conftest.$ac_ext 
     8671cat >>conftest.$ac_ext <<_ACEOF 
     8672/* end confdefs.h.  */ 
     8673#include <sys/types.h> 
     8674                                     #include <sys/socket.h> 
     8675                                     #include <netdb.h> 
     8676int 
     8677main () 
     8678{ 
     8679getaddrinfo(0, 0, 0, 0); 
     8680  ; 
     8681  return 0; 
     8682} 
     8683_ACEOF 
     8684rm -f conftest.$ac_objext 
     8685if { (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 
    85388708_ACEOF 
    85398709 
     
    1123411404echo "$as_me:$LINENO: result: 
    1123511405 
    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: 
     11406Configurations 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 
     11408Further customizations can be put in: 
    1123911409  - 'user.mak' 
    1124011410  - 'pjlib/include/pj/config_site.h' 
     
    1124411414echo "${ECHO_T} 
    1124511415 
    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: 
     11416Configurations 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 
     11418Further customizations can be put in: 
    1124911419  - 'user.mak' 
    1125011420  - 'pjlib/include/pj/config_site.h' 
Note: See TracChangeset for help on using the changeset viewer.