blob: 12c677e2e5aa002a340b0602ba55d58fa17ef2ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- a/configure.in 2015-03-25 15:37:31.953386365 +0000
+++ b/configure.in 2015-03-25 15:39:49.192183689 +0000
@@ -182,6 +182,8 @@
AC_SUBST(HMAC_OBJS)
dnl Checking for PCAP
+AC_ARG_ENABLE([pcap], AS_HELP_STRING([--disable-pcap], [Build without `pcap' library (-lpcap)]))
+AS_IF([test "x$enable_pcap" != "xno"], [
AC_CHECK_LIB([pcap],[pcap_create],
[PCAP=1
LIBS="-lpcap $LIBS"
@@ -189,6 +191,7 @@
AC_DEFINE(HAVE_PCAP, 1, [Define to 1 if you have the `pcap' library (-lpcap)])
AC_SUBST(HAVE_PCAP)
])
+])
AC_MSG_CHECKING(whether to use syslog for error reporting)
AC_ARG_ENABLE(syslog,
|