summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cc1d8ce)
raw | patch | inline | side by side (parent: cc1d8ce)
author | Florian Forster <octo@huhu.verplant.org> | |
Wed, 2 Jul 2008 13:21:27 +0000 (15:21 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 2 Jul 2008 13:21:27 +0000 (15:21 +0200) |
configure.in | patch | blob | history | |
src/Makefile.am | patch | blob | history |
diff --git a/configure.in b/configure.in
index dd4787cf8c6bcc0208c0cce29ad3af257494dc74..73fa841057c4e3a7a58944b39769331cc616b101 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_PLUGIN([ping], [$with_liboping], [Network latency statistics])
AC_PLUGIN([powerdns], [yes], [PowerDNS statistics])
AC_PLUGIN([processes], [$plugin_processes], [Process statistics])
+AC_PLUGIN([qmail], [yes], [QMail queue statistics])
AC_PLUGIN([rrdtool], [$with_rrdtool], [RRDTool output plugin])
AC_PLUGIN([sensors], [$with_lm_sensors], [lm_sensors statistics])
AC_PLUGIN([serial], [$plugin_serial], [serial port traffic])
ping . . . . . . . . $enable_ping
powerdns . . . . . . $enable_powerdns
processes . . . . . . $enable_processes
+ qmail . . . . . . . . $enable_qmail
rrdtool . . . . . . . $enable_rrdtool
sensors . . . . . . . $enable_sensors
serial . . . . . . . $enable_serial
diff --git a/src/Makefile.am b/src/Makefile.am
index c852f34e1771f314afea70f968707a9995f618cc..4f0496dbd12b2a844da25a156df43514abe3c99a 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
collectd_DEPENDENCIES += processes.la
endif
+if BUILD_PLUGIN_QMAIL
+pkglib_LTLIBRARIES += qmail.la
+qmail_la_SOURCES = qmail.c
+qmail_la_LDFLAGS = -module -avoid-version
+collectd_LDADD += "-dlopen" qmail.la
+collectd_DEPENDENCIES += qmail.la
+endif
+
if BUILD_PLUGIN_RRDTOOL
pkglib_LTLIBRARIES += rrdtool.la
rrdtool_la_SOURCES = rrdtool.c