Lines Matching refs:pcap
442 AC_MSG_CHECKING(for local pcap library)
444 [AS_HELP_STRING([--with-system-libpcap], [don't use local pcap library])])
470 # Look for pcap-config.
472 AC_PATH_TOOL(PCAP_CONFIG, pcap-config)
490 # Not found; look for pcap.
492 AC_CHECK_LIB(pcap, main, libpcap="-lpcap")
497 dnl Some versions of Red Hat Linux put "pcap.h" in
498 dnl "/usr/include/pcap"; had the LBL folks done so,
508 dnl see if it's in a "pcap" subdirectory of them and,
511 dnl (We now also put pcap.h in /usr/include/pcap, but we
512 dnl leave behind a /usr/include/pcap.h that includes it,
513 dnl so you can still just include <pcap.h>.)
515 AC_MSG_CHECKING(for extraneous pcap header directories)
516 if test \( ! -r /usr/local/include/pcap.h \) -a \
517 \( ! -r /usr/include/pcap.h \); then
518 if test -r /usr/local/include/pcap/pcap.h; then
519 d="/usr/local/include/pcap"
520 elif test -r /usr/include/pcap/pcap.h; then
521 d="/usr/include/pcap"
538 if test -r $d/pcap.h; then
542 if test -r $dir/pcap.h ; then
549 AC_MSG_ERROR(cannot find pcap.h: see INSTALL)
553 AC_PATH_PROG(PCAP_CONFIG, pcap-config,, $d)
556 # The libpcap directory has a pcap-config script.
575 # We don't have pcap-config; find out any additional link flags
576 # we need. (If we have pcap-config, we assume it tells us what