From: Andrew Elwell Date: Sun, 26 Feb 2012 21:32:08 +0000 (+0100) Subject: Also check in ip4tc for iptc_init X-Git-Tag: collectd-4.10.7~19 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3835b23a2576a239f463b09edadf0dcde5d26f2d;p=collectd.git 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 --- 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])