Changeset 2962
- Timestamp:
- Oct 24, 2009 12:00:40 AM (15 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r2601 r2962 6380 6380 6381 6381 6382 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6383 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6384 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6385 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6386 echo $ECHO_N "(cached) $ECHO_C" >&6 6387 fi 6388 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6389 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6390 else 6391 # Is the header compilable? 6392 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 6393 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 6394 cat >conftest.$ac_ext <<_ACEOF 6395 /* confdefs.h. */ 6396 _ACEOF 6397 cat confdefs.h >>conftest.$ac_ext 6398 cat >>conftest.$ac_ext <<_ACEOF 6399 /* end confdefs.h. */ 6400 $ac_includes_default 6401 #include <netinet/tcp.h> 6402 _ACEOF 6403 rm -f conftest.$ac_objext 6404 if { (ac_try="$ac_compile" 6405 case "(($ac_try" in 6406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6407 *) ac_try_echo=$ac_try;; 6408 esac 6409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6410 (eval "$ac_compile") 2>conftest.er1 6411 ac_status=$? 6412 grep -v '^ *+' conftest.er1 >conftest.err 6413 rm -f conftest.er1 6414 cat conftest.err >&5 6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6416 (exit $ac_status); } && { 6417 test -z "$ac_c_werror_flag" || 6418 test ! -s conftest.err 6419 } && test -s conftest.$ac_objext; then 6420 ac_header_compiler=yes 6421 else 6422 echo "$as_me: failed program was:" >&5 6423 sed 's/^/| /' conftest.$ac_ext >&5 6424 6425 ac_header_compiler=no 6426 fi 6427 6428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6429 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6430 echo "${ECHO_T}$ac_header_compiler" >&6; } 6431 6432 # Is the header present? 6433 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 6434 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 6435 cat >conftest.$ac_ext <<_ACEOF 6436 /* confdefs.h. */ 6437 _ACEOF 6438 cat confdefs.h >>conftest.$ac_ext 6439 cat >>conftest.$ac_ext <<_ACEOF 6440 /* end confdefs.h. */ 6441 #include <netinet/tcp.h> 6442 _ACEOF 6443 if { (ac_try="$ac_cpp conftest.$ac_ext" 6444 case "(($ac_try" in 6445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6446 *) ac_try_echo=$ac_try;; 6447 esac 6448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6450 ac_status=$? 6451 grep -v '^ *+' conftest.er1 >conftest.err 6452 rm -f conftest.er1 6453 cat conftest.err >&5 6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6455 (exit $ac_status); } >/dev/null && { 6456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6457 test ! -s conftest.err 6458 }; then 6459 ac_header_preproc=yes 6460 else 6461 echo "$as_me: failed program was:" >&5 6462 sed 's/^/| /' conftest.$ac_ext >&5 6463 6464 ac_header_preproc=no 6465 fi 6466 6467 rm -f conftest.err conftest.$ac_ext 6468 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6469 echo "${ECHO_T}$ac_header_preproc" >&6; } 6470 6471 # So? What about this header? 6472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6473 yes:no: ) 6474 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 6475 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6476 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 6477 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 6478 ac_header_preproc=yes 6479 ;; 6480 no:yes:* ) 6481 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 6482 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 6483 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5 6484 echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;} 6485 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 6486 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 6487 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5 6488 echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;} 6489 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 6490 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 6491 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 6492 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 6493 6494 ;; 6495 esac 6496 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6497 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6498 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6499 echo $ECHO_N "(cached) $ECHO_C" >&6 6500 else 6501 ac_cv_header_netinet_tcp_h=$ac_header_preproc 6502 fi 6503 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6504 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6505 6506 fi 6507 if test $ac_cv_header_netinet_tcp_h = yes; then 6508 cat >>confdefs.h <<\_ACEOF 6509 #define PJ_HAS_NETINET_TCP_H 1 6510 _ACEOF 6511 6512 fi 6513 6514 6382 6515 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6383 6516 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 -
pjproject/trunk/aconfigure.ac
r2601 r2962 151 151 #endif 152 152 ]) 153 AC_CHECK_HEADER(netinet/tcp.h,[AC_DEFINE(PJ_HAS_NETINET_TCP_H,1)]) 153 154 AC_CHECK_HEADER(ifaddrs.h,[AC_DEFINE(PJ_HAS_IFADDRS_H,1)]) 154 155 AC_CHECK_HEADER(semaphore.h,[AC_DEFINE(PJ_HAS_SEMAPHORE_H,1)]) -
pjproject/trunk/pjlib/include/pj/compat/os_auto.h.in
r2394 r2962 55 55 #undef PJ_HAS_NETINET_IN_H 56 56 #undef PJ_HAS_NETINET_IP_H 57 #undef PJ_HAS_NETINET_TCP_H 57 58 #undef PJ_HAS_NET_IF_H 58 59 #undef PJ_HAS_IFADDRS_H -
pjproject/trunk/pjlib/include/pj/compat/os_darwinos.h
r2394 r2962 36 36 #define PJ_HAS_NETDB_H 1 37 37 #define PJ_HAS_NETINET_IN_H 1 38 #define PJ_HAS_NETINET_TCP_H 1 38 39 #define PJ_HAS_SETJMP_H 1 39 40 #define PJ_HAS_STDARG_H 1 -
pjproject/trunk/pjlib/include/pj/compat/os_symbian.h
r2506 r2962 36 36 #define PJ_HAS_NETDB_H 1 37 37 #define PJ_HAS_NETINET_IN_H 1 38 #define PJ_HAS_NETINET_TCP_H 0 38 39 #define PJ_HAS_SETJMP_H 1 39 40 #define PJ_HAS_STDARG_H 1 -
pjproject/trunk/pjlib/include/pj/compat/os_win32.h
r2394 r2962 42 42 #define PJ_HAS_NETDB_H 0 43 43 #define PJ_HAS_NETINET_IN_H 0 44 #define PJ_HAS_NETINET_TCP_H 0 44 45 #define PJ_HAS_SETJMP_H 1 45 46 #define PJ_HAS_STDARG_H 1 -
pjproject/trunk/pjlib/include/pj/compat/os_win32_wince.h
r2660 r2962 41 41 #define PJ_HAS_NETDB_H 0 42 42 #define PJ_HAS_NETINET_IN_H 0 43 #define PJ_HAS_NETINET_TCP_H 0 43 44 #define PJ_HAS_SETJMP_H 1 44 45 #define PJ_HAS_STDARG_H 1 -
pjproject/trunk/pjlib/include/pj/compat/socket.h
r2394 r2962 103 103 /* To pull in IPTOS_* constants */ 104 104 # include <netinet/ip.h> 105 #endif 106 107 #if defined(PJ_HAS_NETINET_TCP_H) && PJ_HAS_NETINET_TCP_H != 0 108 /* To pull in TCP_NODELAY constants */ 109 # include <netinet/tcp.h> 105 110 #endif 106 111
Note: See TracChangeset
for help on using the changeset viewer.