summaryrefslogtreecommitdiffstats
path: root/rules/elektra.in
blob: 7b4373f2105841f80edea28f4347e241df8e628c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
## SECTION=system_libraries
menuconfig ELEKTRA
	tristate
	depends on BROKEN
	prompt "elektra                       "
	select DB if ELEKTRA__BERKELEYDB
	help
	  Elektra is a universal hierarchical configuration store, with related
	  goals like GConf and the Windows Registry. It allows programs to read
	  and save their configurations with a consistent API, and allows them to
	  be aware of other applications' configurations, leveraging easy
	  application integration. The whole point of it is to tie applications
	  together, so that they can co-operate and share their user-preferences.

if ELEKTRA

config ELEKTRA__DEBUG
	bool
	prompt "enable debug support"
	help
	  This option enables debug support for libelektra. You get much more
	  output than with normal production systems when enabled.

choice
	prompt "default backend  "
	default ELEKTRA__DEFAULT_BACKEND_NONE

	config ELEKTRA__DEFAULT_BACKEND_NONE
		bool
		prompt "none      "

	config ELEKTRA__DEFAULT_BACKEND_FILESYS
		bool
		depends on ELEKTRA__FILESYS
		prompt "filesys   "

	config ELEKTRA__DEFAULT_BACKEND_HOSTS
		bool
		depends on ELEKTRA__HOSTS
		prompt "hosts     "

	config ELEKTRA__DEFAULT_BACKEND_INI
		bool
		depends on ELEKTRA__INI
		prompt "ini       "

	config ELEKTRA__DEFAULT_BACKEND_BERKELEYDB
		bool
		depends on ELEKTRA__BERKELEYDB
		prompt "berkeleydb"

	config ELEKTRA__DEFAULT_BACKEND_FSTAB
		bool
		depends on ELEKTRA__FSTAB
		prompt "fstab     "

	config ELEKTRA__DEFAULT_BACKEND_PASSWD
		bool
		depends on ELEKTRA__PASSWD
		prompt "passwd    "

	config ELEKTRA__DEFAULT_BACKEND_DAEMON
		bool
		depends on ELEKTRA__DAEMON
		prompt "daemon    "
endchoice

menu "backends                      "

	config ELEKTRA__FILESYS
		bool
		prompt "filesys backend"

	config ELEKTRA__HOSTS
		bool
		prompt "hosts backend"

	config ELEKTRA__INI
		bool
		prompt "ini backend"

	config ELEKTRA__BERKELEYDB
		bool
		depends on BROKEN
		prompt "berkeleydb backend"

	config ELEKTRA__FSTAB
		bool
		depends on BROKEN
		prompt "fstab backend"

	config ELEKTRA__PASSWD
		bool
		prompt "passwd backend"

	config ELEKTRA__DAEMON
		bool
		prompt "daemon backend"

endmenu

menu "language bindings             "

	config ELEKTRA__CPP
		bool
		prompt "c++ bindings"

endmenu

endif