summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 620cb34..41eeb52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,6 +213,12 @@ AS_IF([test "x$enable_pcap" != "xno"], [
AC_MSG_RESULT([no])
])
+ AS_IF([test "x$libpcap_LIBS" = "x"], [
+ AS_IF([test "x$enable_pcap" = "xyes"], [
+ AC_MSG_ERROR([libpcap not found])
+ ])
+ ])
+
])
])