From 97776531522070ba8c9f1c92b53e8718533c2d40 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 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 -- 2.11.0