summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 096f706)
raw | patch | inline | side by side (parent: 096f706)
author | Sebastian Harl <sh@teamix.net> | |
Wed, 13 Jun 2012 12:31:00 +0000 (14:31 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 13 Sep 2012 08:58:09 +0000 (10:58 +0200) |
AC_SEARCH_LIBS() would do that, so save and restore LIBS when calling that
macro.
Signed-off-by: Florian Forster <octo@collectd.org>
macro.
Signed-off-by: Florian Forster <octo@collectd.org>
configure.in | patch | blob | history |
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