--- configure +++ configure @@ -1103,7 +1103,7 @@ echo "configure:1104: checking for PCAP library" >&5 ac_found_pcap_lib_dir="no" for dir in $ac_pcap_lib_dir; do - if test -f $dir/libpcap.a; then + if test -f $dir/libpcap.a -o -f $dir/libpcap.dylib; then save_LIBS=$LIBS save_LDFLAGS=$LDFLAGS LIBS="-lpcap $LIBS"