1 diff --git a/libcrafter/configure.ac b/libcrafter/configure.ac
2 index 860d98b..b04ccce 100644
3 --- a/libcrafter/configure.ac
4 +++ b/libcrafter/configure.ac
5 @@ -35,14 +35,13 @@ AC_ARG_WITH(libpcap,
6 PCAPINC="-I$withval -I$withval/bpf"
7 PCAPLIB="-L$withval -lpcap"
8 elif test -f $withval/include/pcap.h -a \
9 - -f $withval/include/net/bpf.h -a \
10 -f $withval/lib/libpcap.a; then
12 if cd $withval; then withval=`pwd`; cd $owd; fi
13 PCAPINC="-I$withval/include"
14 PCAPLIB="-L$withval/lib -lpcap"
16 - AC_ERROR(pcap.h, net/bpf.h, or libpcap.a not found in $withval)
17 + AC_ERROR(pcap.h, or libpcap.a not found in $withval)