[collectd] [PATCH] configure: Warn if librrd is not thread safe.

Sebastian Harl sh at tokkee.org
Thu Jan 31 22:21:41 CET 2008


Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 configure.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index d9bca16..284dff0 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)"
-- 
1.5.4.rc4.23.gcab31

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080131/ed5b06ea/attachment.pgp 


More information about the collectd mailing list