From 730fef354f164c120cda3fcd929ad133e91a378f Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 2 Jul 2008 15:21:27 +0200 Subject: [PATCH] Build system: Added the qmail plugin. --- configure.in | 2 ++ src/Makefile.am | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/configure.in b/configure.in index dd4787cf..73fa8410 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/src/Makefile.am b/src/Makefile.am index c852f34e..4f0496db 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 -- 2.11.0