tcpreplay: disable libnl3 and libdbus-1 check in CONFIGURE_VARS
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 18 Aug 2016 11:26:29 +0000 (14:26 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 18 Aug 2016 18:49:23 +0000 (21:49 +0300)
Also, drop patch that disables libdbus-1 check in configure script.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
net/tcpreplay/Makefile
net/tcpreplay/patches/001-disable-dbus-link.patch [deleted file]

index 627abc5fd24ca0451d7f2cef0a48798fabbe6d1b..bdc90aab71c313812c95b9b661246c7e3280606f 100644 (file)
@@ -124,6 +124,12 @@ define Package/tcpreplay-all/description
   to support switches, routers, and IP Flow/NetFlow appliances. 
 endef
 
+CONFIGURE_VARS += \
+       ac_cv_lib_nl_nl_cache_alloc=no \
+       ac_cv_lib_nl_genl_3_genl_connect=no \
+       ac_cv_lib_nl_3_nl_cache_alloc=no \
+       ac_cv_lib_dbus_1_dbus_malloc=no
+
 CONFIGURE_ARGS += \
        --enable-force-pf \
        --enable-dynamic-link \
diff --git a/net/tcpreplay/patches/001-disable-dbus-link.patch b/net/tcpreplay/patches/001-disable-dbus-link.patch
deleted file mode 100644 (file)
index 6f34e9f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 6c61381..7f72871 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -773,7 +773,6 @@ if ! test $using_pcap_config = yes; then
-     AC_CHECK_LIB(nl, nl_cache_alloc, [nl_found=yes])
-     AC_CHECK_LIB(nl-genl-3, genl_connect, [nl_genl_3_found=yes])
-     AC_CHECK_LIB(nl-3, nl_cache_alloc, [nl_3_found=yes])
--    AC_CHECK_LIB(dbus-1, dbus_malloc, [dbus_1_found=yes])
-     if test "$nl_found" = "yes"; then
-         LPCAPLIB="$LPCAPLIB -lnl"
-     fi