From 97b5f7f84c6bd5c2462165d876c8ee69e6cb32b3 Mon Sep 17 00:00:00 2001 From: Phoenix Kayo Date: Thu, 8 Apr 2010 13:44:49 +0600 Subject: [PATCH] Writing autotools rules for pinba. --- configure.in | 4 ++++ src/Makefile.am | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/configure.in b/configure.in index a5323181..92917d34 100644 --- a/configure.in +++ b/configure.in @@ -3978,6 +3978,7 @@ plugin_vmem="no" plugin_vserver="no" plugin_wireless="no" plugin_zfs_arc="no" +plugin_pinba="no" # Linux if test "x$ac_system" = "xLinux" @@ -4537,6 +4538,8 @@ Configuration: libxml2 . . . . . . . $with_libxml2 libxmms . . . . . . . $with_libxmms libyajl . . . . . . . $with_libyajl + libevent . . . . . . $with_libevent + protobuf-c . . . . . $with_protobuf_c oracle . . . . . . . $with_oracle python . . . . . . . $with_python @@ -4610,6 +4613,7 @@ Configuration: oracle . . . . . . . $enable_oracle perl . . . . . . . . $enable_perl ping . . . . . . . . $enable_ping + pinba . . . . . . . . $enable_pinba postgresql . . . . . $enable_postgresql powerdns . . . . . . $enable_powerdns processes . . . . . . $enable_processes diff --git a/src/Makefile.am b/src/Makefile.am index 1bf550e7..2e0d38e1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1184,6 +1184,14 @@ collectd_LDADD += "-dlopen" zfs_arc.la collectd_DEPENDENCIES += zfs_arc.la endif +if BUILD_PLUGIN_PINBA +pkglib_LTLIBRARIES += pinba.la +pinba_la_SOURCES = pinba.c pinba-pb.c +pinba_la_LDFLAGS = -module -avoid-version +collectd_LDADD += "-dlopen" pinba.la +collectd_DEPENDENCIES += pinba.la +endif + dist_man_MANS = collectd.1 \ collectd.conf.5 \ -- 2.30.2