summaryrefslogtreecommitdiffstats
path: root/rules/rrdtool.in
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2016-12-19 21:36:23 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-01-05 17:37:34 +0100
commit91a4994ce14633cacafae512e5808842cdc833f0 (patch)
treedfbd87fc13c22f272fa4c86d795cdd4a6806a3a2 /rules/rrdtool.in
parentd102c545323ee7c926db19f84bab1995369f9595 (diff)
downloadptxdist-91a4994ce14633cacafae512e5808842cdc833f0.tar.gz
ptxdist-91a4994ce14633cacafae512e5808842cdc833f0.tar.xz
rrdtool: update 1.4.9 -> 1.6.0 and make more modular
Only depend on libxml2 if rrd_restore is enabled and add missing configure options explicitly. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/rrdtool.in')
-rw-r--r--rules/rrdtool.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/rules/rrdtool.in b/rules/rrdtool.in
index d69d404f9..fa7e1de1c 100644
--- a/rules/rrdtool.in
+++ b/rules/rrdtool.in
@@ -8,9 +8,10 @@ menuconfig RRDTOOL
select CAIRO_PDF if RRDTOOL_RRD_GRAPH
select CAIRO_PS if RRDTOOL_RRD_GRAPH
select PANGO if RRDTOOL_RRD_GRAPH
- select LIBXML2
- select LIBXML2_SAX1
- select LIBXML2_READER
+ select LIBXML2 if RRDTOOL_RRD_RESTORE
+ select LIBXML2_SAX1 if RRDTOOL_RRD_RESTORE
+ select LIBXML2_READER if RRDTOOL_RRD_RESTORE
+
# for autotools only
select HOST_GETTEXT
prompt "rrdtool "
@@ -61,6 +62,13 @@ config RRDTOOL_RRDUPDATE
help
Store a new set of values into the RRD
+config RRDTOOL_RRD_RESTORE
+ bool
+ prompt "enable rrd restore"
+ help
+ rrd restore reads the XML representation of an RRD via libxml2
+ and converts it to the native RRD format.
+
config RRDTOOL_WRAP
bool
prompt "build in support for libwrap (tcp wrapper)"