]> git.ipfire.org Git - thirdparty/iptables.git/commit
configure: Auto-detect libz unless explicitly requested master
authorPhil Sutter <phil@nwl.cc>
Thu, 29 Jan 2026 18:35:24 +0000 (19:35 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 30 Jan 2026 16:25:16 +0000 (17:25 +0100)
commit758cfe51968a1fbd78cc7a6041c467e64f090d3a
tree2ed35ba491fbd3aec46f47cde91a5a049a1979c5
parent412d5659d398e419f45ae490caba41e978483f95
configure: Auto-detect libz unless explicitly requested

If user did not pass --with-zlib and it is not available, simply turn
off rule compat expression compression. It is not strictly necessary and
users may not care.

While at it, drop the conditional AC_DEFINE() call: In fact,
AC_CHECK_LIB() does that already.

Fixes: ff5f6a208efcc ("nft-ruleparse: Fallback to compat expressions in userdata")
Signed-off-by: Phil Sutter <phil@nwl.cc>
configure.ac
iptables/nft-compat.c