AC_SEARCH_LIBS() would do that, so save and restore LIBS when calling that
macro.
Signed-off-by: Florian Forster <octo@collectd.org>
# This could be in iptc or ip4tc
if test "x$with_libiptc" = "xpkgconfig"
then
# This could be in iptc or ip4tc
if test "x$with_libiptc" = "xpkgconfig"
then
AC_SEARCH_LIBS(iptc_init, [iptc ip4tc],
[with_libiptc="pkgconfig"],
[with_libiptc="no"],
[$with_libiptc_libs])
AC_SEARCH_LIBS(iptc_init, [iptc ip4tc],
[with_libiptc="pkgconfig"],
[with_libiptc="no"],
[$with_libiptc_libs])
fi
if test "x$with_libiptc" = "xpkgconfig"
then
fi
if test "x$with_libiptc" = "xpkgconfig"
then