From f9eeaf81f7c87f081fd14d4369e0fc9ae6c6726b 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 e82fe839..693228c8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1510,7 +1510,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