Recent iptables (at least iptables-1.4.12.1) 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 *"
in configure.

Signed-off-by: Bruno Prémont <[email protected]>
---
diff --git a/configure.in b/configure.in
index 97fc54c..b663603 100644
--- a/configure.in
+++ b/configure.in
@@ -1651,7 +1651,7 @@ fi
 # declared in the iptables plugin.
 if test "x$with_libiptc" = "xpkgconfig"
 then
-       AC_CHECK_TYPES([iptc_handle_t, ip6tc_handle_t], [], [])
+       AC_CHECK_TYPES([struct iptc_handle *, struct ip6tc_handle *], [], [])
 fi
 # Check for the iptc_init symbol in the library.
 # This could be in iptc or ip4tc

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to