From 83aa9c9e37ade801f9e4d99f2f7809f361aaec2c Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 31 Jan 2008 22:21:41 +0100 Subject: [PATCH] configure: Warn if librrd is not thread safe. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index d9bca160..284dff05 100644 --- a/configure.in +++ b/configure.in @@ -2101,6 +2101,11 @@ AC_SUBST(PERL_BINDINGS_OPTIONS) AC_OUTPUT(Makefile src/Makefile src/collectd.conf src/liboconfig/Makefile src/liboping/Makefile bindings/Makefile) +if test "x$with_rrdtool" = "xyes" -a "x$librrd_threadsafe" != "xyes" +then + with_rrdtool="yes (warning: librrd is not thread-safe)" +fi + if test "x$with_liboping" = "xyes" -a "x$with_own_liboping" = "xyes" then with_liboping="yes (shipped version)" -- 2.11.0