diff --git a/configure.ac b/configure.ac
index ef6868e7bab7509c129a75fde51afcf83028b2f3..37d77ff9dcb18f202ffe40aab8b4af50aeee6ffa 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AC_MSG_ERROR([Invalid value for option --with-librrd=$with_librrd (expected "yes", "no", or "auto")])
fi; fi
+if test "x$have_librrd" = "xyes"; then
+ AC_CHECK_HEADERS([rrd_client.h])
+fi
+
dnl Feature checks.
build_documentation="yes"