Changeset 1871 for trunk/configure.in
- Timestamp:
- 06/23/07 17:56:46 (19 months ago)
- Files:
-
- 1 modified
-
trunk/configure.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.in
r1870 r1871 514 514 dnl reduced quite a bit more if we chose too 515 515 AC_MSG_CHECKING(for libpcap version) 516 517 dnl 0.9.6 (which is still thinks it is 0.9.5 due to a bug) introduces an important 518 dnl fix for OSX. See: http://tcpreplay.synfin.net/trac/ticket/167 519 libpcap_version_096=no 520 AC_RUN_IFELSE(AC_LANG_PROGRAM([[ 521 #include <string.h> 522 #include <stdlib.h> 523 #include <stdio.h> 524 #include "$LPCAPINC" 525 #define PCAP_TEST "0.9.6" 526 ]], [[ 527 /* 528 * simple proggy to test the version of libpcap 529 * returns zero if version >= 0.9.6 530 * or one otherwise 531 */ 532 if (strncmp(pcap_lib_version(), PCAP_TEST, 5) >= 0) 533 exit(0); 534 535 exit(1); 536 ]]), [ 537 libpcap_version_096=yes 538 ]) 516 539 517 540 AC_RUN_IFELSE(AC_LANG_PROGRAM([[ … … 1037 1060 nic1=en0 1038 1061 nic2=en0 1039 disable_pcap_findalldevs=yes 1062 if test x$libpcap_version_096 = xno ; then 1063 disable_pcap_findalldevs=yes 1064 fi 1040 1065 AC_MSG_RESULT(Apple OS X) 1041 1066 ;;
