summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-05-11 18:19:02 +0000
committerGuy Harris <guy@alum.mit.edu>2017-05-11 18:19:12 +0000
commit6f1e6d24c64960bf347c1990fcca8dfdaaf44c68 (patch)
tree59ff6aa1de70c20dde394ab1c19ea9c92b3df7d1 /acinclude.m4
parent8cd1fd0c993df904596390ebdf350259e7c9c5fc (diff)
downloadwireshark-6f1e6d24c64960bf347c1990fcca8dfdaaf44c68.tar.gz
Revert "Revert "Get rid of HAVE_REMOTE.""
This reverts commit 8cd1fd0c993df904596390ebdf350259e7c9c5fc. Making HAVE_REMOTE a config.h #define is a really horrible idea. It's *NOT* a configuration option. Instead, HAVE_REMOTE should be defined by other mechanisms, as was done in 79eab8ca070f978415126f85b0777ab4ab02f0a2. Change-Id: I4632b63bd73a25a27c5f4686d2baf3e0beddecb3 Reviewed-on: https://code.wireshark.org/review/21604 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 11c657fd87..fcbbab8327 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -423,12 +423,10 @@ AC_DEFUN([AC_WIRESHARK_PCAP_REMOTE_CHECK],
[
ac_save_LIBS="$LIBS"
LIBS="$PCAP_LIBS $LIBS"
- AC_DEFINE(HAVE_REMOTE, 1, [Define to 1 to enable remote
- capturing feature in WinPcap library])
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 WinPcap remote capturing support and prefer to use these new API features.])
+ [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"