[collectd] [PATCH] configure, libiptc check fix
Bruno Prémont
bonbons at linux-vserver.org
Wed Mar 21 22:28:05 CET 2012
Scratch this one, it was mis-guided because 5.0.3 does not
have commit 3835b23a2576a239f463b09edadf0dcde5d26f2d without
which configure failed to find libiptc.
Bruno
On Wed, 21 March 2012 Bruno Prémont <bonbons at linux-vserver.org> wrote:
> 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 <bonbons at linux-vserver.org>
> ---
> 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
More information about the collectd
mailing list