Changeset 8c749ae5


Ignore:
Timestamp:
06/18/05 16:41:20 (15 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
5eae97a
Parents:
c9d296c
Message:

fixed the pcap path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    rb5236ad r8c749ae5  
    7676# *BSD doesn't have strndup. Currently provide our own.
    7777AC_REPLACE_FUNCS(strndup)
     78
     79# Check to see if we have libpcap
     80AC_CHECK_LIB(pcap,pcap_open_live,
     81             have_pcap_open_live=true,
     82             have_pcap_open_live=false)
     83
     84if test "$have_pcap_open_live" = true; then
     85    AC_DEFINE(HAVE_PCAP,1,[Conditional for building PCAP support])
     86    ADD_LIBS="$ADD_LIBS  -lpcap"
     87else
     88    AC_DEFINE(HAVE_PCAP,0,[Conditional for building PCAP support])
     89fi     
    7890
    7991# Earlier versions of pcap don't have pcap_open_dead. EG: the one OpenBSD
Note: See TracChangeset for help on using the changeset viewer.