From 3835b23a2576a239f463b09edadf0dcde5d26f2d Mon Sep 17 00:00:00 2001 From: Andrew Elwell Date: Sun, 26 Feb 2012 22:32:08 +0100 Subject: [PATCH] Also check in ip4tc for iptc_init ./configure --enable-iptables was failing on fedora as iptc_init wasn't found. This patches configure.in to also look in ip4tc Signed-off-by: Florian Forster --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 0acad706..02a6361b 100644 --- a/configure.in +++ b/configure.in @@ -1649,9 +1649,10 @@ then AC_CHECK_TYPES([iptc_handle_t, ip6tc_handle_t], [], []) fi # Check for the iptc_init symbol in the library. +# This could be in iptc or ip4tc if test "x$with_libiptc" = "xpkgconfig" then - AC_CHECK_LIB(iptc, iptc_init, + AC_SEARCH_LIBS(iptc_init, [iptc ip4tc], [with_libiptc="pkgconfig"], [with_libiptc="no"], [$with_libiptc_libs]) -- 2.11.0