diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-12-18 02:46:45 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-12-18 02:46:45 +0000 |
commit | 7725f5e92de8e4aef6f5ad650b2ad70044e0b2ea (patch) | |
tree | 443fae5c5bed1c326c22477599d5746f51eda89f /acinclude.m4 | |
parent | 7f71ceb564e2f74c7e87083e7cfac63f87dba125 (diff) | |
download | wireshark-7725f5e92de8e4aef6f5ad650b2ad70044e0b2ea.tar.gz wireshark-7725f5e92de8e4aef6f5ad650b2ad70044e0b2ea.tar.bz2 wireshark-7725f5e92de8e4aef6f5ad650b2ad70044e0b2ea.zip |
"pcap_compile_nopcap()" has a different signature in recent NetBSD
libpcap than in tcpdump.org libpcap; it's been deprecated for that
reason. "pcap_open_dead()" has been in libpcap since 0.6, so only for
0.5[.x] will you have "pcap_compile_nopcap()" but not "pcap_open_dead()"
- for now, we use "pcap_open_dead()" rather than
"pcap_compile_nopcap()", and don't do the check for capture filters in
systems with libpcaps that lack "pcap_open_dead()".
svn path=/trunk/; revision=9341
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 41df396f4c..a4d7ce3754 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2,7 +2,7 @@ dnl Macros that test for specific features. dnl This file is part of the Autoconf packaging for Ethereal. dnl Copyright (C) 1998-2000 by Gerald Combs. dnl -dnl $Id: acinclude.m4,v 1.65 2003/12/17 02:36:56 guy Exp $ +dnl $Id: acinclude.m4,v 1.66 2003/12/18 02:46:45 guy Exp $ dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -352,7 +352,7 @@ and did you also install that package?]])) else AC_MSG_RESULT(no) fi - AC_CHECK_FUNCS(pcap_findalldevs pcap_lib_version pcap_compile_nopcap) + AC_CHECK_FUNCS(pcap_findalldevs pcap_lib_version pcap_open_dead) AC_CHECK_FUNCS(pcap_datalink_val_to_name pcap_datalink_name_to_val) AC_CHECK_FUNCS(pcap_list_datalinks pcap_set_datalink) LIBS="$ac_save_LIBS" |