diff mbox

[nft] configure: Require newer version of libxtables

Message ID 20170202112255.GA18694@lennorien.com
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Elise Lennion Feb. 2, 2017, 11:22 a.m. UTC
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).

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pablo Neira Ayuso Feb. 5, 2017, 8:48 p.m. UTC | #1
On Thu, Feb 02, 2017 at 09:22:55AM -0200, Elise Lennion wrote:
> 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.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index f1bca05..bef6c0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)