1 --- libnids-1.24.orig/configure.in 2006-05-01 19:14:51.000000000 +0200
2 +++ libnids-1.24/configure.in 2014-01-06 16:25:57.765584034 +0100
3 @@ -65,13 +65,13 @@ AC_ARG_WITH(libpcap,
6 AC_MSG_RESULT($withval)
7 - if test -f $withval/pcap.h -a -f $withval/libpcap.a; then
8 + if test -f $withval/include/pcap.h; then
10 if cd $withval; then withval=`pwd`; cd $owd; fi
11 - PCAP_CFLAGS="-I$withval -I$withval/bpf"
12 - PCAPLIB="-L$withval -lpcap"
13 + PCAP_CFLAGS="-I$withval/include -I$withval/include/bpf"
14 + PCAPLIB="-L$withval/lib -lpcap"
16 - AC_ERROR(pcap.h or libpcap.a not found in $withval)
17 + AC_ERROR(pcap.h not found in $withval)