From c97acf40804f2b875749dfc7d3f3177369d4014a Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 9 Aug 2015 15:52:33 +0200 Subject: [PATCH] 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. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0