From 38068ecc7922ace29bb6af3f8ee5568c3fe96c08 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Apr 2016 15:00:26 +0200 Subject: [PATCH] rrdtool check: no need to save LDFLAGS There's no need to save LDFLAGS when we're just checking a header. --- configure.ac | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configure.ac b/configure.ac index 57135952..23a3efd7 100644 --- 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 -- 2.11.0