projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f2979
)
Pinba: only compile .proto files when enabled
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 9 Aug 2015 13:50:55 +0000
(15:50 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Mon, 30 Nov 2015 21:51:44 +0000
(22:51 +0100)
If the pinba plugin is not enabled there's no
need to compile the protobuf files.
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
36b6bd7
..
e82fe83
100644
(file)
--- 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