From: Ruben Kerkhof Date: Sun, 9 Aug 2015 13:52:33 +0000 (+0200) Subject: write_riemann: only compile .proto files when enabled X-Git-Tag: collectd-5.6.0~570^2~6 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c97acf40804f2b875749dfc7d3f3177369d4014a;p=collectd.git write_riemann: only compile .proto files when enabled If the write_riemann plugin is not enabled there's no need to compile the protobuf files. --- diff --git a/src/Makefile.am b/src/Makefile.am index 8674658e..52210da2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1378,7 +1378,7 @@ endif # Protocol buffer for the "write_riemann" plugin. EXTRA_DIST += riemann.proto -if HAVE_PROTOC_C +if BUILD_PLUGIN_WRITE_RIEMANN CLEANFILES += riemann.pb-c.c riemann.pb-c.h BUILT_SOURCES += riemann.pb-c.c riemann.pb-c.h