summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be26607)
raw | patch | inline | side by side (parent: be26607)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 13:00:26 +0000 (15:00 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 13:00:26 +0000 (15:00 +0200) |
There's no need to save LDFLAGS when we're just
checking a header.
checking a header.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 57135952a007f87895844ebfc3e96de0b9234898..23a3efd725f89633ce2455e8b71a0bb40f19a940 100644 (file)
--- a/configure.ac
+++ b/configure.ac
@@ -4106,15 +4106,11 @@ AC_ARG_WITH(librrd, [AS_HELP_STRING([--with-librrd@<:@=PREFIX@:>@], [Path to rrd
if test "x$with_librrd" = "xyes"
then
SAVE_CPPFLAGS="$CPPFLAGS"
- SAVE_LDFLAGS="$LDFLAGS"
-
CPPFLAGS="$CPPFLAGS $librrd_cflags"
- LDFLAGS="$LDFLAGS $librrd_ldflags"
AC_CHECK_HEADERS(rrd.h,, [with_librrd="no (rrd.h not found)"])
CPPFLAGS="$SAVE_CPPFLAGS"
- LDFLAGS="$SAVE_LDFLAGS"
fi
if test "x$with_librrd" = "xyes"
then