From: Ruben Kerkhof Date: Sun, 9 Aug 2015 13:50:55 +0000 (+0200) Subject: Pinba: only compile .proto files when enabled X-Git-Tag: collectd-5.6.0~570^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=73932271b1ace2a2a9e2a63b6cf9f170bee3c81b;p=collectd.git Pinba: only compile .proto files when enabled If the pinba plugin is not enabled there's no need to compile the protobuf files. --- diff --git a/src/Makefile.am b/src/Makefile.am index 199adcfc..8674658e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1368,7 +1368,7 @@ EXTRA_DIST += collectd.conf.pod \ # Protocol buffer for the "pinba" plugin. EXTRA_DIST += pinba.proto -if HAVE_PROTOC_C +if BUILD_PLUGIN_PINBA CLEANFILES += pinba.pb-c.c pinba.pb-c.h BUILT_SOURCES += pinba.pb-c.c pinba.pb-c.h