summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38068ec)
raw | patch | inline | side by side (parent: 38068ec)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 13:03:03 +0000 (15:03 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 13:03:03 +0000 (15:03 +0200) |
There's no need to save CPPFLAGS when we're just
checking a library.
checking a library.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 23a3efd725f89633ce2455e8b71a0bb40f19a940..fc2c6aa3c5d361397cc0426e37e0156f8795a53a 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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,
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"