You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/libsrtp/files/libsrtp-pcap-automagic-r0.p...

20 lines
615 B

--- 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,