Build system: Added the qmail plugin.
authorFlorian Forster <octo@huhu.verplant.org>
Wed, 2 Jul 2008 13:21:27 +0000 (15:21 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 2 Jul 2008 13:21:27 +0000 (15:21 +0200)
configure.in
src/Makefile.am

index dd4787c..73fa841 100644 (file)
@@ -2546,6 +2546,7 @@ AC_PLUGIN([perl],        [$plugin_perl],       [Embed a Perl interpreter])
 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])
@@ -2710,6 +2711,7 @@ Configuration:
     ping  . . . . . . . . $enable_ping
     powerdns  . . . . . . $enable_powerdns
     processes . . . . . . $enable_processes
+    qmail . . . . . . . . $enable_qmail
     rrdtool . . . . . . . $enable_rrdtool
     sensors . . . . . . . $enable_sensors
     serial  . . . . . . . $enable_serial
index c852f34..4f0496d 100644 (file)
@@ -552,6 +552,14 @@ collectd_LDADD += "-dlopen" processes.la
 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