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.5.1~40^2~16 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=97776531522070ba8c9f1c92b53e8718533c2d40;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 36b6bd77..e82fe839 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1500,7 +1500,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