From: Florian Forster Date: Wed, 2 Jul 2008 13:21:27 +0000 (+0200) Subject: Build system: Added the qmail plugin. X-Git-Tag: collectd-4.5.0~102 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=730fef354f164c120cda3fcd929ad133e91a378f;p=collectd.git Build system: Added the qmail plugin. --- 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