summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-03-23 01:25:01 +0000
committerGuy Harris <guy@alum.mit.edu>2005-03-23 01:25:01 +0000
commit46e1907f136cd62ff768a9c509a0bf368024e141 (patch)
treef219510fe2e4d6014ba976062506b55f857f3bcb /acinclude.m4
parent79daa1e80ee9ee42a25fdf1119feedc423709b36 (diff)
downloadwireshark-46e1907f136cd62ff768a9c509a0bf368024e141.tar.gz
If we have "pcap_freecode()", use it to free the instructions for a BPF
filter after installing the filter. Set HAVE_PCAP_LIB_VERSION if we're building with WinPcap 3.1; it's not present in earlier versions, but is present in current 3.1 betas. Check HAVE_PCAP_LIB_VERSION when building capture-wpcap.c. svn path=/trunk/; revision=13872
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index b29eabb588..334c13d7c9 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -419,7 +419,7 @@ and did you also install that package?]]))
else
AC_MSG_RESULT(no)
fi
- AC_CHECK_FUNCS(pcap_open_dead)
+ AC_CHECK_FUNCS(pcap_open_dead pcap_freecode)
#
# Later versions of Mac OS X 10.3[.x] ship a pcap.h that
# doesn't define pcap_if_t but ship an 0.8[.x] libpcap,