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.5.2~6^2~8 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=e13faa56639a3f0da4e79239496d6099a691ce9b rrdtool check: no need to save LDFLAGS There's no need to save LDFLAGS when we're just checking a header. (cherry picked from commit 38068ecc7922ace29bb6af3f8ee5568c3fe96c08) --- diff --git a/configure.ac b/configure.ac index 5e4c309a..c4fe39ac 100644 --- a/configure.ac +++ b/configure.ac @@ -3824,15 +3824,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