Skip to contentSkip to conversation

configure: Require newer version of libxtables

PATCH In review Elise Lennion 2 participants 2 messages Feb 2, 2017 – Feb 5, 2017 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: Require newer version of libxtables

Currently, the configure script requires xtables v1.6.0 when the option --with-xtables is given. However, nftables-0.7 build fails with this version, xtables v1.6.1 is the minimum required to have libxtables support.

Fixes(Bug 1110 - Build failure if --with-xtables).

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index f1bca05..bef6c0b 100644
@@ -102,7 +102,7 @@ AC_ARG_WITH([xtables], [AS_HELP_STRING([--with-xtables],
             [Use libxtables for iptables interaction)])],
 	    [with_libxtables=yes], [with_libxtables=no])
 AS_IF([test "x$with_libxtables" != xno], [
-PKG_CHECK_MODULES([XTABLES], [xtables >= 1.6.0])
+PKG_CHECK_MODULES([XTABLES], [xtables >= 1.6.1])
 AC_DEFINE([HAVE_LIBXTABLES], [1], [0])
 ])
 AC_SUBST(with_libxtables)
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · Elise Lennion

Currently, the configure script requires xtables v1.6.0 when the option --with-xtables is given. However, nftables-0.7 build fails with this version, xtables v1.6.1 is the minimum required to have libxtables support.

Fixes(Bug 1110 - Build failure if --with-xtables).

Also applied, thanks Elise.