summaryrefslogtreecommitdiff
blob: 13128551dfe9abecaf07f5aeac05c4f40b71790d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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"