From 73932271b1ace2a2a9e2a63b6cf9f170bee3c81b Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 9 Aug 2015 15:50:55 +0200 Subject: [PATCH] Pinba: only compile .proto files when enabled If the pinba plugin is not enabled there's no need to compile the protobuf files. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0