xref: /OK3568_Linux_fs/buildroot/package/rrdtool/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_RRDTOOL
2	bool "rrdtool"
3	depends on BR2_USE_WCHAR # libglib2
4	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
5	depends on BR2_USE_MMU # libglib2
6	select BR2_PACKAGE_LIBGLIB2
7	help
8	  RRDtool is the OpenSource industry standard, high performance
9	  data logging and graphing system for time series data.
10
11	  http://oss.oetiker.ch/rrdtool/
12
13if BR2_PACKAGE_RRDTOOL
14
15config BR2_PACKAGE_RRDTOOL_RRDGRAPH
16	bool "rrd_graph"
17	default y
18	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
19	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz
20	depends on BR2_INSTALL_LIBSTDCPP # freetype support from pango
21	select BR2_PACKAGE_CAIRO
22	select BR2_PACKAGE_CAIRO_PDF
23	select BR2_PACKAGE_CAIRO_PNG
24	select BR2_PACKAGE_CAIRO_PS
25	select BR2_PACKAGE_CAIRO_SVG
26	select BR2_PACKAGE_PANGO
27	help
28	  This enables the graphing capabilities ('rrdgraph').
29	  Without this it will only act as a database backend.
30
31comment "rrd_graph support needs a toolchain w/ C++, gcc >= 4.8"
32	depends on !BR2_INSTALL_LIBSTDCPP || \
33		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
34	depends on BR2_TOOLCHAIN_HAS_SYNC_4
35
36endif
37
38comment "rrdtool needs a toolchain w/ wchar, threads"
39	depends on BR2_USE_MMU
40	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
41