Changeset 1712
- Timestamp:
- 02/26/07 10:00:58 (23 months ago)
- Files:
-
- 1 modified
-
trunk/configure.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.in
r1709 r1712 371 371 elif test -f "${testdir}/lib/libpcap.a" ; then 372 372 LPCAPLIB="${testdir}/lib/libpcap.a" 373 elif test -f "${testdir}/lib/libwpcap.a" 373 elif test -f "${testdir}/lib/libwpcap.a" ; then 374 374 LPCAPLIB="${testdir}/lib/libwpcap.a" 375 375 AC_DEFINE([HAVE_WINPCAP], [1], [Do we have WinPcap?]) 376 376 else 377 AC_ERROR( Unable to find matching library for header file in ${testdir})377 AC_ERROR([Unable to find matching library for header file in ${testdir}]) 378 378 fi 379 379 foundpcap=$testdir … … 519 519 AC_MSG_RESULT(no) 520 520 fi 521 ],[ 522 AC_MSG_RESULT(no) 523 ]) 524 525 have_pcap_version=no 526 dnl Check to see if we have pcap_version[] 527 AC_MSG_CHECKING(for pcap_version[]) 528 AC_TRY_COMPILE([ 529 #include <stdio.h> 530 #include <stdlib.h> 531 #include <string.h> 532 #include "$LPCAPINC" 533 extern char pcap_version[]; 534 ],[ 535 printf("%s", pcap_version); 536 ],[ 537 AC_DEFINE([HAVE_PCAP_VERSION],[1], [Does libpcap have pcap_version[]]) 538 AC_MSG_RESULT(yes) 521 539 ],[ 522 540 AC_MSG_RESULT(no)
