chiark / gitweb /
build-sys: s/HAVE_SMACK/ENABLE_SMACK/
[elogind.git] / meson_options.txt
1 # -*- mode: meson -*-
2
3 option('split-usr', type : 'boolean', value : false,
4        description : '''assume that /bin, /sbin aren't symlinks into /usr''')
5 option('rootlibdir', type : 'string',
6        description : '''[/usr]/lib/x86_64-linux-gnu or such''')
7 option('rootprefix', type : 'string',
8        description : '''override the root prefix''')
9 #if 0 /// UNNEEDED by elogind
10 # option('link-udev-shared', type : 'boolean',
11 #        description : 'link systemd-udev and its helpers to libsystemd-shared.so')
12
13 # option('sysvinit-path', type : 'string', value : '/etc/init.d',
14 #        description : 'the directory where the SysV init scripts are located')
15 # option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
16 #        description : 'the base directory for SysV rcN.d directories')
17 # option('telinit-path', type : 'string', description : 'path to telinit')
18 # option('rc-local', type : 'string',
19 #        value : '/etc/rc.local')
20 # option('halt-local', type : 'string',
21 #        value : '/usr/sbin/halt.local')
22
23 # option('quotaon-path', type : 'string', description : 'path to quotaon')
24 # option('quotacheck-path', type : 'string', description : 'path to quotacheck')
25 # option('kill-path', type : 'string', description : 'path to kill')
26 # option('kmod-path', type : 'string', description : 'path to kmod')
27 #else
28 # elogind must have a configurable rootlibexecdir
29 option('rootlibexecdir', type : 'string',
30        description : '''override the root libexec directory path''')
31
32 # And because elogind depends on external udev, it must be
33 # configurable as well.
34 option('udevrulesdir', type : 'string',
35        description : '''directory for udev rules files''')
36
37 option('udevbindir', type : 'string',
38        description : '''directory for udev binary files''')
39
40 # We have no systemd-shutdown binary, so we need 'halt' and 'reboot'
41 option('halt-path', type : 'string', description : 'path to halt')
42 option('reboot-path', type : 'string', description : 'path to reboot')
43 #endif // 0
44 option('kexec-path', type : 'string', description : 'path to kexec')
45 #if 0 /// UNNEEDED by elogind
46 # option('sulogin-path', type : 'string', description : 'path to sulogin')
47 # option('mount-path', type : 'string', description : 'path to mount')
48 # option('umount-path', type : 'string', description : 'path to umount')
49 # option('loadkeys-path', type : 'string', description : 'path to loadkeys')
50 # option('setfont-path', type : 'string', description : 'path to setfont')
51
52 # option('debug-shell', type : 'string', value : '/bin/sh',
53 #        description : 'path to debug shell binary')
54 # option('debug-tty', type : 'string', value : '/dev/tty9',
55 #        description : 'specify the tty device for debug shell')
56 # option('debug', type : 'string',
57 #        description : 'enable extra debugging (hashmap,mmap-cache)')
58 #else
59 option('debug', type : 'string',
60        description : 'enable extra debugging (elogind,hashmap,mmap-cache)')
61 #endif // 0
62
63 option('utmp', type : 'boolean',
64        description : 'support for utmp/wtmp log handling')
65 #if 0 /// UNNEEDED by elogind
66 # option('hibernate', type : 'boolean',
67 #        description : 'support for hibernation')
68 # option('ldconfig', type : 'boolean',
69 #        description : 'support for dynamic linker cache creation')
70 # option('resolve', type : 'boolean',
71 #        description : 'systemd-resolved stack')
72 # option('efi', type : 'boolean',
73 #        description : 'enable systemd-boot and bootctl')
74 # option('tpm', type : 'boolean',
75 #        description : 'TPM should be used to log events and extend the registers')
76 # option('environment-d', type : 'boolean',
77 #        description : 'support for environment.d')
78 # option('binfmt', type : 'boolean',
79 #        description : 'support for custom binary formats')
80 # option('coredump', type : 'boolean',
81 #        description : 'install the coredump handler')
82 # option('logind', type : 'boolean',
83 #        description : 'install the systemd-logind stack')
84 # option('hostnamed', type : 'boolean',
85 #        description : 'install the systemd-hostnamed stack')
86 # option('localed', type : 'boolean',
87 #        description : 'install the systemd-localed stack')
88 # option('machined', type : 'boolean',
89 #        description : 'install the systemd-machined stack')
90 # option('networkd', type : 'boolean',
91 #        description : 'install the systemd-networkd stack')
92 # option('timedated', type : 'boolean',
93 #        description : 'install the systemd-timedated daemon')
94 # option('timesyncd', type : 'boolean',
95 #        description : 'install the systemd-timesyncd daemon')
96 # option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
97 #        description : 'support for "journal over the network"')
98 # option('myhostname', type : 'boolean',
99 #        description : 'nss-myhostname support')
100 # option('firstboot', type : 'boolean',
101 #        description : 'support for firstboot mechanism')
102 # option('randomseed', type : 'boolean',
103 #        description : 'support for restoring random seed')
104 # option('backlight', type : 'boolean',
105 #        description : 'support for restoring backlight state')
106 # option('vconsole', type : 'boolean',
107 #        description : 'support for vconsole configuration')
108 # option('quotacheck', type : 'boolean',
109 #        description : 'support for the quotacheck tools')
110 # option('sysusers', type : 'boolean',
111 #        description : 'support for the sysusers configuration')
112 # option('tmpfiles', type : 'boolean',
113 #        description : 'support for tmpfiles.d')
114 # option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
115 #        description : 'install the systemd-importd daemon')
116 # option('hwdb', type : 'boolean',
117 #        description : 'support for the hardware database')
118 # option('rfkill', type : 'boolean',
119 #        description : 'support for the rfkill tools')
120 #endif // 0
121 option('man', type : 'combo', choices : ['auto', 'true', 'false'],
122        description : 'build and install man pages')
123 option('html', type : 'combo', choices : ['auto', 'true', 'false'],
124        value : 'false',
125        description : 'build and install html pages')
126
127 #if 0 /// UNNEEDED by elogind
128 # option('certificate-root', type : 'string', value : '/etc/ssl',
129 #        description : 'the prefix for TLS certificates')
130 #endif // 0
131 option('dbuspolicydir', type : 'string',
132        description : 'D-Bus policy directory')
133 option('dbussessionservicedir', type : 'string',
134        description : 'D-Bus session service directory')
135 option('dbussystemservicedir', type : 'string',
136        description : 'D-Bus system service directory')
137 option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig',
138        description : 'directory for ')
139 option('pkgconfiglibdir', type : 'string', value : '',
140        description : 'directory for ')
141 #if 0 /// UNNEEDED by elogind
142 # option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
143 #        description : 'directory for rpm macros ["no" disables]')
144 #endif // 0
145 option('pamlibdir', type : 'string',
146        description : 'directory for PAM modules')
147 option('pamconfdir', type : 'string',
148        description : 'directory for PAM configuration ["no" disables]')
149
150 option('fallback-hostname', type : 'string', value : 'localhost',
151        description : 'the hostname used if none configured')
152 #if 0 /// UNNEEDED by elogind
153 # option('compat-gateway-hostname', type : 'boolean', value : 'false',
154 #        description : 'allow "gateway" as the symbolic name for default gateway')
155 #endif // 0
156 option('default-hierarchy', type : 'combo',
157        choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
158        description : 'default cgroup hierarchy')
159 #if 0 /// UNNEEDED by elogind
160 # option('time-epoch', type : 'string',
161 #        description : 'time epoch for time clients')
162 #else
163 option('cgroup-controller', type : 'string',
164        description : 'Name of the cgroup controller to use')
165 #endif // 0
166 option('system-uid-max', type : 'string',
167        description : 'maximum system UID')
168 option('system-gid-max', type : 'string',
169        description : 'maximum system GID')
170 option('tty-gid', type : 'string',
171        description : 'the numeric GID of the "tty" group',
172        value : '5')
173 #if 0 /// UNNEEDED by elogind
174 # option('adm-group', type : 'boolean',
175 #        description : 'the ACL for adm group should be added')
176 # option('wheel-group', type : 'boolean',
177 #        description : 'the ACL for wheel group should be added')
178 # option('nobody-user', type : 'string',
179 #        description : 'The name of the nobody user (the one with UID 65534)',
180 #        value : 'nobody')
181 # option('nobody-group', type : 'string',
182 #        description : 'The name of the nobody group (the one with GID 65534)',
183 #        value : 'nobody')
184 # option('dev-kvm-mode', type : 'string', value : '0660',
185 #        description : '/dev/kvm access mode')
186 #endif // 0
187 option('default-kill-user-processes', type : 'boolean',
188        description : 'the default value for KillUserProcesses= setting')
189 option('gshadow', type : 'boolean',
190        description : 'support for shadow group')
191
192 #if 0 /// UNNEEDED by elogind
193 # option('default-dnssec', type : 'combo',
194 #        description : 'default DNSSEC mode',
195 #        choices : ['yes', 'allow-downgrade', 'no'],
196 #        value : 'allow-downgrade')
197 # option('dns-servers', type : 'string',
198 #        description : 'space-separated list of default DNS servers',
199 #        value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844')
200 # option('ntp-servers', type : 'string',
201 #        description : 'space-separated list of default NTP servers',
202 #        value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
203 # option('support-url', type : 'string',
204 #        description : 'the support URL to show in catalog entries included in systemd',
205 #        value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
206 # option('www-target', type : 'string',
207 #        description : 'the address and dir to upload docs too',
208 #        value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
209
210 # option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
211 #        description : 'SECCOMP support')
212 #endif // 0
213 option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
214        description : 'SELinux support')
215 #if 0 /// UNNEEDED by elogind
216 # option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
217 #        description : 'AppArmor support')
218 #endif // 0
219 option('smack', type : 'boolean',
220        description : 'SMACK support')
221 option('smack-run-label', type : 'string',
222        description : 'run systemd --system itself with a specific SMACK label')
223 option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
224        description : 'PolicyKit support')
225 option('ima', type : 'boolean',
226        description : 'IMA support')
227
228 option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
229        description : 'libacl support')
230 option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
231        description : 'libaudit support')
232 #if 0 /// UNNEEDED by elogind
233 # option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
234 #        description : 'libblkid support')
235 # option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
236 #        description : 'support for loadable modules')
237 #endif // 0
238 option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
239        description : 'PAM support')
240 #if 0 /// UNNEEDED by elogind
241 # option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
242 #        description : 'libµhttpd support')
243 # option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
244 #        description : 'libcryptsetup support')
245 # option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
246 #        description : 'libcurl support')
247 # option('idn', type : 'boolean',
248 #        description : 'use IDN when printing host names')
249 # option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
250 #        description : 'libidn2 support')
251 # option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
252 #        description : 'libidn support')
253 # option('nss-systemd', type : 'boolean',
254 #        description : 'enable nss-systemd')
255 # option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
256 #        description : 'libiptc support')
257 # option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
258 #        description : 'libqrencode support')
259 # option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
260 #        description : 'gcrypt support')
261 # option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
262 #        description : 'gnutls support')
263 # option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
264 #        description : 'elfutils support')
265 # option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
266 #        description : 'zlib compression support')
267 # option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
268 #        description : 'bzip2 compression support')
269 # option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
270 #        description : 'xz compression support')
271 # option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
272 #        description : 'lz4 compression support')
273 # option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
274 #        description : 'xkbcommon keymap support')
275 #endif // 0
276 option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
277        description : 'libglib support (for tests only)')
278 option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
279        description : 'libdbus support (for tests only)')
280
281 #if 0 /// UNNEEDED BY elogind
282 # option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
283 #        description : 'gnu-efi support for sd-boot')
284 # option('efi-cc', type : 'string', value : 'gcc',
285 #        description : 'the compiler to use for EFI modules')
286 # option('efi-ld', type : 'string', value : 'ld',
287 #        description : 'the linker to use for EFI modules')
288 # option('efi-libdir', type : 'string',
289 #        description : 'path to the EFI lib directory')
290 # option('efi-ldsdir', type : 'string',
291 #        description : 'path to the EFI lds directory')
292 # option('efi-includedir', type : 'string', value : '/usr/include/efi',
293 #        description : 'path to the EFI header directory')
294 # option('tpm-pcrindex', type : 'string', value : '8',
295 #        description : 'TPM PCR register number to use')
296 #endif // 0
297
298 option('bashcompletiondir', type : 'string',
299        description : 'directory for bash completion scripts ["no" disables]')
300 option('zshcompletiondir', type : 'string',
301        description : 'directory for zsh completion scripts ["no" disables]')
302
303 option('tests', type : 'combo', choices : ['true', 'unsafe'],
304        description : 'enable extra tests with =unsafe')
305 option('slow-tests', type : 'boolean', value : 'false',
306        description : 'run the slow tests by default')
307 option('install-tests', type : 'boolean', value : 'false',
308        description : 'install test executables')