From c43464c98c24cd886e839756076a4cded37cdaea Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 13 Jun 2012 14:31:00 +0200 Subject: [PATCH] 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 --- configure.in | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2