From: Ruben Kerkhof Date: Sat, 23 Apr 2016 13:00:26 +0000 (+0200) Subject: rrdtool check: no need to save LDFLAGS X-Git-Tag: collectd-5.6.0~326 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=38068ecc7922ace29bb6af3f8ee5568c3fe96c08;hp=be2660725aba47b9a98a63e768b9d7d264c33410;p=collectd.git rrdtool check: no need to save LDFLAGS There's no need to save LDFLAGS when we're just checking a header. --- 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