There's no need to save CPPFLAGS when we're just
checking a library.
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"