[PATCH] configure: Verify libnftnl install is recent enough

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To get libnftnl/flowtable.h nftables now needs a newer libftnl than the latest
release. This temporary check advises the unwary of that.
This test can be removed once libnftnl 1.0.10 is released (and tested for).

Signed-off-by: Duncan Roe <duncan_roe@xxxxxxxxxxxxxxx>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 2d0b1b9..9c719a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,7 @@ AM_COND_IF([BUILD_PDF], [
 
 PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3])
 PKG_CHECK_MODULES([LIBNFTNL], [libnftnl >= 1.0.9])
+AC_CHECK_HEADER(libnftnl/flowtable.h, , [AC_MSG_ERROR([Can't find libnftnl/flowtable.h -- need libnftnl git 2018-01-29 or newer])])
 
 AC_ARG_WITH([mini-gmp], [AS_HELP_STRING([--with-mini-gmp],
             [Use builtin mini-gmp (for embedded builds)])], [],
-- 
2.9.0

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux