Changeset d11be03 for configure.in


Ignore:
Timestamp:
10/05/12 09:53:37 (8 years ago)
Author:
Shane Alcock <salcock@…>
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:
64d4398
Parents:
1ca17db
Message:
  • Fixed broken check for pcap_inject, pcap_sendpacket and pcap_setnonblock in the configure script - automake sucks sometimes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r699c4a3 rd11be03  
    223223AC_CHECK_LIB(pcap,pcap_next_ex,pcapfound=1,pcapfound=0)
    224224AC_CHECK_LIB(pcap,pcap_create,pcapcreate=1,pcapcreate=0)
    225 AC_CHECK_FUNCS(pcap_inject pcap_sendpacket pcap_setnonblock)
    226225AC_CHECK_DECLS([BIOCSETIF],,,[
    227226#include <sys/types.h>
     
    250249        AC_DEFINE([HAVE_LIBPCAP],1,[compile with libpcap support])
    251250        AC_DEFINE([HAVE_BPF_FILTER],1,[compile with bpf filter support])
     251
     252        LIBS+="-lpcap"
     253        AC_CHECK_FUNCS(pcap_inject pcap_sendpacket pcap_setnonblock)
     254        LIBS=""
     255
    252256fi
    253257
Note: See TracChangeset for help on using the changeset viewer.