From: Sebastian Harl Date: Wed, 13 Jun 2012 12:31:00 +0000 (+0200) Subject: configure: Don't add -liptc to the global LIBS setting. X-Git-Tag: collectd-5.0.5~4^2~3 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c43464c98c24cd886e839756076a4cded37cdaea;p=collectd.git configure: Don't add -liptc to the global LIBS setting. AC_SEARCH_LIBS() would do that, so save and restore LIBS when calling that macro. Signed-off-by: Florian Forster --- diff --git a/configure.in b/configure.in index add82f12..43e3329b 100644 --- a/configure.in +++ b/configure.in @@ -1655,10 +1655,12 @@ fi # This could be in iptc or ip4tc if test "x$with_libiptc" = "xpkgconfig" then + SAVE_LIBS="$LIBS" AC_SEARCH_LIBS(iptc_init, [iptc ip4tc], [with_libiptc="pkgconfig"], [with_libiptc="no"], [$with_libiptc_libs]) + LIBS="$SAVE_LIBS" fi if test "x$with_libiptc" = "xpkgconfig" then