From: Ruben Kerkhof Date: Sat, 23 Apr 2016 13:03:03 +0000 (+0200) Subject: rrdtool check: no need to save CPPFLAGS X-Git-Tag: collectd-5.6.0~325 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f7e09269879b74e61324de9178503221b2df9136;p=collectd.git rrdtool check: no need to save CPPFLAGS There's no need to save CPPFLAGS when we're just checking a library. --- diff --git a/configure.ac b/configure.ac index 23a3efd7..fc2c6aa3 100644 --- a/configure.ac +++ b/configure.ac @@ -4114,10 +4114,7 @@ then fi if test "x$with_librrd" = "xyes" then - SAVE_CPPFLAGS="$CPPFLAGS" SAVE_LDFLAGS="$LDFLAGS" - - CPPFLAGS="$CPPFLAGS $librrd_cflags" LDFLAGS="$LDFLAGS $librrd_ldflags" AC_CHECK_LIB(rrd_th, rrd_update_r, @@ -4141,7 +4138,6 @@ then AC_CHECK_LIB(rrd, rrdc_update, [librrd_rrdc_update="yes"], [librrd_rrdc_update="no"]) fi - CPPFLAGS="$SAVE_CPPFLAGS" LDFLAGS="$SAVE_LDFLAGS" fi if test "x$with_librrd" = "xyes"