diff --git a/configure.in b/configure.in
index add82f1286c7b7d6b3a8ff43708ed204c998d7e8..43e3329b1700b2de7154cb09be7777fa02154b6d 100644 (file)
--- a/configure.in
+++ b/configure.in
# 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