Changeset 697
- Timestamp:
- Sep 9, 2006 8:05:33 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r689 r697 7415 7415 cat >>confdefs.h <<\_ACEOF 7416 7416 #define PJ_SOCKADDR_HAS_LEN 1 7417 _ACEOF 7418 7419 echo "$as_me:$LINENO: result: yes" >&5 7420 echo "${ECHO_T}yes" >&6 7421 else 7422 echo "$as_me: failed program was:" >&5 7423 sed 's/^/| /' conftest.$ac_ext >&5 7424 7425 echo "$as_me:$LINENO: result: no" >&5 7426 echo "${ECHO_T}no" >&6 7427 fi 7428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7429 7430 # Determine if socklen_t is available 7431 echo "$as_me:$LINENO: checking if socklen_t is available" >&5 7432 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6 7433 cat >conftest.$ac_ext <<_ACEOF 7434 /* confdefs.h. */ 7435 _ACEOF 7436 cat confdefs.h >>conftest.$ac_ext 7437 cat >>conftest.$ac_ext <<_ACEOF 7438 /* end confdefs.h. */ 7439 #include <unistd.h> 7440 int 7441 main () 7442 { 7443 socklen_t xxx = 0; 7444 ; 7445 return 0; 7446 } 7447 _ACEOF 7448 rm -f conftest.$ac_objext 7449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7450 (eval $ac_compile) 2>conftest.er1 7451 ac_status=$? 7452 grep -v '^ *+' conftest.er1 >conftest.err 7453 rm -f conftest.er1 7454 cat conftest.err >&5 7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7456 (exit $ac_status); } && 7457 { ac_try='test -z "$ac_c_werror_flag" 7458 || test ! -s conftest.err' 7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7460 (eval $ac_try) 2>&5 7461 ac_status=$? 7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7463 (exit $ac_status); }; } && 7464 { ac_try='test -s conftest.$ac_objext' 7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7466 (eval $ac_try) 2>&5 7467 ac_status=$? 7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7469 (exit $ac_status); }; }; then 7470 cat >>confdefs.h <<\_ACEOF 7471 #define PJ_HAS_SOCKLEN_T 1 7417 7472 _ACEOF 7418 7473 -
pjproject/trunk/aconfigure.ac
r689 r697 111 111 AC_MSG_RESULT(no)) 112 112 113 # Determine if socklen_t is available 114 AC_MSG_CHECKING([if socklen_t is available]) 115 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], 116 [socklen_t xxx = 0;])], 117 [AC_DEFINE(PJ_HAS_SOCKLEN_T,1) 118 AC_MSG_RESULT(yes)], 119 AC_MSG_RESULT(no)) 120 113 121 # Determine if SO_ERROR is available 114 122 AC_MSG_CHECKING([if SO_ERROR is available]) -
pjproject/trunk/pjlib/include/pj/compat/os_auto.h.in
r625 r697 64 64 #undef PJ_SOCKADDR_HAS_LEN 65 65 66 /* Does the OS have socklen_t? */ 67 #undef PJ_HAS_SOCKLEN_T 68 69 #if !defined(PJ_HAS_SOCKLEN_T) || PJ_HAS_SOCKLEN_T==0 70 typedef int socklen_t; 71 #endif 72 66 73 /** 67 74 * If this macro is set, it tells select I/O Queue that select() needs to … … 100 107 #endif 101 108 109 /* Do we need high resolution timer? */ 102 110 #undef PJ_HAS_HIGH_RES_TIMER 111 112 /* Is malloc() available? */ 103 113 #undef PJ_HAS_MALLOC 114 104 115 #ifndef PJ_OS_HAS_CHECK_STACK 105 116 # define PJ_OS_HAS_CHECK_STACK 0 106 117 #endif 118 119 /* Unicode? */ 107 120 #undef PJ_NATIVE_STRING_IS_UNICODE 108 121 122 /* The type of atomic variable value: */ 109 123 #undef PJ_ATOMIC_VALUE_TYPE 110 124
Note: See TracChangeset
for help on using the changeset viewer.