projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5488370
)
src/Makefile.am: Add the MongoDB plugin.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 3 Nov 2010 13:15:57 +0000
(14:15 +0100)
committer
Florian Forster
<octo@collectd.org>
Wed, 25 Jan 2012 19:58:05 +0000
(20:58 +0100)
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
702ee0f
..
c49b9c6
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-640,6
+640,15
@@
collectd_LDADD += "-dlopen" modbus.la
collectd_DEPENDENCIES += modbus.la
endif
+if BUILD_PLUGIN_MONGODB
+pkglib_LTLIBRARIES += mongodb.la
+mongodb_la_SOURCES = mongodb.c
+mongodb_la_LDFLAGS = -module -avoid-version
+mongodb_la_LIBADD = -lmongoc
+collectd_LDADD += "-dlopen" mongodb.la
+collectd_DEPENDENCIES += mongodb.la
+endif
+
if BUILD_PLUGIN_MULTIMETER
pkglib_LTLIBRARIES += multimeter.la
multimeter_la_SOURCES = multimeter.c