aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2017-12-20 18:59:13 +0100
committerToni Uhlig <matzeton@googlemail.com>2017-12-20 18:59:13 +0100
commitd6a2338179619b8edf24770e3871072ac87fa174 (patch)
tree09a943c917600b4963b7774788b4d08b8f5af680 /configure.ac
parent3541aa3bf2e9090e2778e80a8dc20955bbb7654f (diff)
ptunnel-ng:
* pcap for Windows is optional (but recommended)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4533baf..54285fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,7 +131,8 @@ case ${selinux_enabled} in
esac
dnl Check libcap headers/functions.
-if test x"${pcap_enabled}" != x; then
+if test x"${pcap_enabled}" != x -a \
+ x"${use_msw}" != xyes; then
AC_CHECK_HEADERS([pcap.h],,
[pcap_enabled=])
AC_SEARCH_LIBS([pcap_lookupnet], [pcap],,