From: Sebastian Harl Date: Thu, 31 Jan 2008 21:21:41 +0000 (+0100) Subject: configure: Warn if librrd is not thread safe. X-Git-Tag: collectd-4.3.0beta0^0 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=83aa9c9e37ade801f9e4d99f2f7809f361aaec2c;p=collectd.git configure: Warn if librrd is not thread safe. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- 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)"