aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-11-28 17:39:54 -0800
committerGuy Harris <guy@alum.mit.edu>2017-11-29 01:40:24 +0000
commitd1a79a6cac7a4d5a3f3fd3f92330686047e34d2c (patch)
tree9e5109b680d79cfb4b505da077667f7654e38e45 /acinclude.m4
parente74800d3479a937692114aa026522ff4768d9ad2 (diff)
Get rid of --with-pcap-remote; always check for pcap_open.
No need to make it an option; it's not an option in CMake. Change-Id: I43dd25b9b73e6f372bd6612aea6372b950b0ca74 Reviewed-on: https://code.wireshark.org/review/24635 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m415
1 files changed, 1 insertions, 14 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 66e4adc7f4..546eb2c4bd 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -309,7 +309,7 @@ and did you also install that package?]])
# Check whether various variables and functions are defined by
# libpcap.
#
- AC_CHECK_FUNCS(pcap_open_dead pcap_freecode)
+ AC_CHECK_FUNCS(pcap_open_dead pcap_freecode pcap_open pcap_setsampling)
#
# pcap_breakloop may be present in the library but not declared
# in the pcap.h header file. If it's not declared in the header
@@ -425,19 +425,6 @@ install a newer version of the header file.])
LIBS="$ws_ac_save_LIBS"
])
-AC_DEFUN([AC_WIRESHARK_PCAP_REMOTE_CHECK],
-[
- ac_save_LIBS="$LIBS"
- LIBS="$PCAP_LIBS $LIBS"
- AC_CHECK_FUNCS(pcap_open)
- if test $ac_cv_func_pcap_open = "yes" ; then
- AC_DEFINE(HAVE_PCAP_REMOTE, 1,
- [Define to 1 if you have libpcap/WinPcap remote capturing support and prefer to use these new API features.])
- fi
- AC_CHECK_FUNCS(pcap_setsampling)
- LIBS="$ac_save_LIBS"
-])
-
#
# AC_WIRESHARK_ZLIB_CHECK
#