[collectd] [PATCH] configure, libiptc check fix
bonbons at linux-vserver.org
Wed Mar 21 21:28:42 CET 2012
Recent iptables (at least iptables-18.104.22.168) don't have
iptc_handle_t and ip6tc_handle_t anymore but just have the base
struct iptc_handle and struct ip6tc_handle.
As both structs are just forward definitions without ever
showing their contents, check for "struct iptc_handle *"
Signed-off-by: Bruno Prémont <bonbons at linux-vserver.org>
diff --git a/configure.in b/configure.in
index 97fc54c..b663603 100644
@@ -1651,7 +1651,7 @@ fi
# declared in the iptables plugin.
if test "x$with_libiptc" = "xpkgconfig"
- AC_CHECK_TYPES([iptc_handle_t, ip6tc_handle_t], , )
+ AC_CHECK_TYPES([struct iptc_handle *, struct ip6tc_handle *], , )
# Check for the iptc_init symbol in the library.
# This could be in iptc or ip4tc
More information about the collectd