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 21:56, 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 unnecessary. Just remove the 3rd and 4th argument from the
>> PKG_CHECK_MODULES call.
>
>We may use the 3rd argument instead of remove it.

What good would that do? If you abolish the nftables=0 case,
then everything else becomes 'always-nftables' and
[nftables=1] would be redundant to mention.
--
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