Re: [iptables PATCH] configure: exit if libnftnl is not found

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

 



On Sunday 2016-03-27 12:05, Giuseppe Longo wrote:
>+++ b/configure.ac
>@@ -128,6 +128,13 @@ if test "x$enable_nftables" = "xyes"; then
> 
> 	PKG_CHECK_MODULES([libnftnl], [libnftnl >= 1.0.5], [nftables=1], [nftables=0])
> 
>+	if test "$nftables" = 0;
>+	then
>+		echo "*** Error: No suitable libnftnl found. ***"
>+		echo "    Please install the 'libnftnl' package."
>+		exit 1
>+	fi
>+

This is totally unnecessary. Just remove the 3rd and 4th argument from the
PKG_CHECK_MODULES call immediately preceding it if libnftnl has become
a hard requirement.
--
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