]> git.ipfire.org Git - thirdparty/systemd.git/blame - meson_options.txt
repart: port to our home-grown hmac_sha256
[thirdparty/systemd.git] / meson_options.txt
CommitLineData
5c23128d 1# -*- mode: meson -*-
db9ecf05 2# SPDX-License-Identifier: LGPL-2.1-or-later
5c23128d 3
e1ca734e
ZJS
4option('version-tag', type : 'string',
5 description : 'override the git version string')
6
4c8e5f44 7option('mode', type : 'combo', choices : ['developer', 'release'],
b8ee3493 8 description : 'autoenable features suitable for systemd development/release builds')
839bdf25 9
2675413e
ZJS
10option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
11 description : '''/bin, /sbin aren't symlinks into /usr''')
157baa87
ZJS
12option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
13 description : '''sbin is not a symlink to bin''')
5c23128d
ZJS
14option('rootlibdir', type : 'string',
15 description : '''[/usr]/lib/x86_64-linux-gnu or such''')
74344a17 16option('rootprefix', type : 'string',
80599eb0 17 description : '''override the root prefix [default '/' if split-usr and '/usr' otherwise]''')
3a30f21f
ZJS
18option('link-udev-shared', type : 'boolean',
19 description : 'link systemd-udev and its helpers to libsystemd-shared.so')
f3794366
FS
20option('link-systemctl-shared', type: 'boolean',
21 description : 'link systemctl against libsystemd-shared.so')
5ac8b50d
RS
22option('link-networkd-shared', type: 'boolean',
23 description : 'link systemd-networkd and its helpers to libsystemd-shared.so')
fd74a13e
RS
24option('link-timesyncd-shared', type: 'boolean',
25 description : 'link systemd-timesyncd and its helpers to libsystemd-shared.so')
70848ecf
DC
26option('static-libsystemd', type : 'combo',
27 choices : ['false', 'true', 'pic', 'no-pic'],
28 description : '''install a static library for libsystemd''')
29option('static-libudev', type : 'combo',
30 choices : ['false', 'true', 'pic', 'no-pic'],
53393c89 31 description : 'install a static library for libudev')
8ef8f3d5 32option('standalone-binaries', type : 'boolean', value : 'false',
53393c89 33 description : 'also build standalone versions of supported binaries')
5c23128d
ZJS
34
35option('sysvinit-path', type : 'string', value : '/etc/init.d',
36 description : 'the directory where the SysV init scripts are located')
37option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
38 description : 'the base directory for SysV rcN.d directories')
2fa645f1
MG
39option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit',
40 description : 'path to telinit')
2a4c156d
ZJS
41option('rc-local', type : 'string',
42 value : '/etc/rc.local')
53393c89 43option('initrd', type : 'boolean',
cdf7ad38 44 description : 'install services for use when running systemd in initrd')
53393c89
ZJS
45option('compat-mutable-uid-boundaries', type : 'boolean', value : 'false',
46 description : 'look at uid boundaries in /etc/login.defs for compatibility')
7e0079f9
ZJS
47option('nscd', type : 'boolean',
48 description : 'build support for flushing of the nscd caches')
5c23128d
ZJS
49
50option('quotaon-path', type : 'string', description : 'path to quotaon')
51option('quotacheck-path', type : 'string', description : 'path to quotacheck')
5c23128d
ZJS
52option('kmod-path', type : 'string', description : 'path to kmod')
53option('kexec-path', type : 'string', description : 'path to kexec')
54option('sulogin-path', type : 'string', description : 'path to sulogin')
55option('mount-path', type : 'string', description : 'path to mount')
56option('umount-path', type : 'string', description : 'path to umount')
57option('loadkeys-path', type : 'string', description : 'path to loadkeys')
58option('setfont-path', type : 'string', description : 'path to setfont')
6db90462 59option('nologin-path', type : 'string', description : 'path to nologin')
5c23128d 60
3131bfe3
ZJS
61option('debug-shell', type : 'string', value : '/bin/sh',
62 description : 'path to debug shell binary')
63option('debug-tty', type : 'string', value : '/dev/tty9',
64 description : 'specify the tty device for debug shell')
6c092dbe 65option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash'], value : [],
ad7aa760 66 description : 'enable extra debugging')
444d5863
ZJS
67option('memory-accounting-default', type : 'boolean',
68 description : 'enable MemoryAccounting= by default')
a8b627aa 69option('bump-proc-sys-fs-file-max', type : 'boolean',
168561f2 70 description : 'bump /proc/sys/fs/file-max to LONG_MAX')
a8b627aa
LP
71option('bump-proc-sys-fs-nr-open', type : 'boolean',
72 description : 'bump /proc/sys/fs/nr_open to INT_MAX')
d18cb393
ZJS
73option('valgrind', type : 'boolean', value : false,
74 description : 'do extra operations to avoid valgrind warnings')
fd5dec9a
ZJS
75option('log-trace', type : 'boolean', value : false,
76 description : 'enable low level debug logging')
3602ca6f
ZJS
77option('user-path', type : 'string',
78 description : '$PATH to use for user sessions')
3131bfe3 79
5c23128d
ZJS
80option('utmp', type : 'boolean',
81 description : 'support for utmp/wtmp log handling')
82option('hibernate', type : 'boolean',
83 description : 'support for hibernation')
84option('ldconfig', type : 'boolean',
85 description : 'support for dynamic linker cache creation')
86option('resolve', type : 'boolean',
87 description : 'systemd-resolved stack')
88option('efi', type : 'boolean',
8191c594 89 description : 'enable systemd-boot and bootctl')
cd4823f6 90option('tpm', type : 'boolean',
80c6fce8 91 description : 'TPM should be used to log events and extend the registers')
5c23128d
ZJS
92option('environment-d', type : 'boolean',
93 description : 'support for environment.d')
94option('binfmt', type : 'boolean',
95 description : 'support for custom binary formats')
e594a3b1
LP
96option('repart', type : 'combo', choices : ['auto', 'true', 'false'],
97 description : 'install the systemd-repart tool')
5c23128d
ZJS
98option('coredump', type : 'boolean',
99 description : 'install the coredump handler')
9b4abc69
ED
100option('pstore', type : 'boolean',
101 description : 'install the pstore archival tool')
ea8b9b2f 102option('oomd', type : 'boolean',
61ff7397 103 description : 'install the userspace oom killer')
5c23128d
ZJS
104option('logind', type : 'boolean',
105 description : 'install the systemd-logind stack')
106option('hostnamed', type : 'boolean',
107 description : 'install the systemd-hostnamed stack')
108option('localed', type : 'boolean',
109 description : 'install the systemd-localed stack')
110option('machined', type : 'boolean',
111 description : 'install the systemd-machined stack')
61d0578b
LP
112option('portabled', type : 'boolean',
113 description : 'install the systemd-portabled stack')
9bca4ae4
LP
114option('sysext', type : 'boolean',
115 description : 'install the systemd-sysext stack')
d093b62c
LP
116option('userdb', type : 'boolean',
117 description : 'install the systemd-userdbd stack')
ec74f47e 118option('homed', type : 'combo', choices : ['auto', 'true', 'false'],
70a5db58 119 description : 'install the systemd-homed stack')
5c23128d
ZJS
120option('networkd', type : 'boolean',
121 description : 'install the systemd-networkd stack')
122option('timedated', type : 'boolean',
123 description : 'install the systemd-timedated daemon')
124option('timesyncd', type : 'boolean',
125 description : 'install the systemd-timesyncd daemon')
b1519d65 126option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 127 description : 'support for "journal over the network"')
6ed5ef98
ZJS
128option('create-log-dirs', type : 'boolean',
129 description : 'create /var/log/journal{,/remote}')
08540a95
YW
130option('nss-myhostname', type : 'boolean',
131 description : 'install nss-myhostname module')
132option('nss-mymachines', type : 'combo', choices : ['auto', 'true', 'false'],
133 description : 'install nss-mymachines module')
134option('nss-resolve', type : 'combo', choices : ['auto', 'true', 'false'],
135 description : 'install nss-resolve module')
136option('nss-systemd', type : 'boolean',
137 description : 'install nss-systemd module')
5c23128d
ZJS
138option('firstboot', type : 'boolean',
139 description : 'support for firstboot mechanism')
140option('randomseed', type : 'boolean',
141 description : 'support for restoring random seed')
142option('backlight', type : 'boolean',
143 description : 'support for restoring backlight state')
144option('vconsole', type : 'boolean',
145 description : 'support for vconsole configuration')
146option('quotacheck', type : 'boolean',
147 description : 'support for the quotacheck tools')
148option('sysusers', type : 'boolean',
149 description : 'support for the sysusers configuration')
150option('tmpfiles', type : 'boolean',
151 description : 'support for tmpfiles.d')
b1519d65 152option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d
ZJS
153 description : 'install the systemd-importd daemon')
154option('hwdb', type : 'boolean',
155 description : 'support for the hardware database')
156option('rfkill', type : 'boolean',
157 description : 'support for the rfkill tools')
8feca247
BB
158option('xdg-autostart', type : 'boolean',
159 description : 'install the xdg-autostart-generator and unit')
4390be30 160option('man', type : 'combo', choices : ['auto', 'true', 'false'],
0b0673b6 161 value : 'false',
527d43d7 162 description : 'build and install man pages')
4390be30
ZJS
163option('html', type : 'combo', choices : ['auto', 'true', 'false'],
164 value : 'false',
527d43d7 165 description : 'build and install html pages')
8c979cfa
DDM
166option('translations', type : 'boolean', value : true,
167 description : 'build and install translations')
5c23128d
ZJS
168
169option('certificate-root', type : 'string', value : '/etc/ssl',
170 description : 'the prefix for TLS certificates')
171option('dbuspolicydir', type : 'string',
172 description : 'D-Bus policy directory')
173option('dbussessionservicedir', type : 'string',
174 description : 'D-Bus session service directory')
175option('dbussystemservicedir', type : 'string',
176 description : 'D-Bus system service directory')
a95696e3 177option('pkgconfigdatadir', type : 'string', value : '',
f62b08dd 178 description : 'directory for arch-independent pkg-config files')
5c23128d 179option('pkgconfiglibdir', type : 'string', value : '',
f62b08dd 180 description : 'directory for standard pkg-config files')
e6263674
FB
181option('xinitrcdir', type : 'string', value : '',
182 description : 'directory for xinitrc files')
5c23128d
ZJS
183option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
184 description : 'directory for rpm macros ["no" disables]')
36d55958
ZJS
185option('update-helper-user-timeout', type : 'string', value : '15s',
186 description : 'how long to wait for user manager operations')
5c23128d
ZJS
187option('pamlibdir', type : 'string',
188 description : 'directory for PAM modules')
189option('pamconfdir', type : 'string',
190 description : 'directory for PAM configuration ["no" disables]')
d1ae38d8
OK
191option('libcryptsetup-plugins-dir', type : 'string',
192 description : 'directory for libcryptsetup plugins')
75aaade1
TB
193option('docdir', type : 'string',
194 description : 'documentation directory')
225d08b8
JT
195option('install-sysconfdir', type : 'combo', choices : ['true', 'no-samples', 'false'], value : 'true',
196 description : 'install configuration files and directories to $sysconfdir')
5c23128d
ZJS
197
198option('fallback-hostname', type : 'string', value : 'localhost',
199 description : 'the hostname used if none configured')
200option('default-hierarchy', type : 'combo',
87cf1f8f 201 choices : ['legacy', 'hybrid', 'unified'], value : 'unified',
5c23128d 202 description : 'default cgroup hierarchy')
681cb84a
ZJS
203option('extra-net-naming-schemes', type : 'string',
204 description : 'comma-separated list of extra net.naming-scheme= definitions')
77faadfd 205option('default-net-naming-scheme', type : 'string', value : 'latest',
06da5c63 206 description : 'default net.naming-scheme= value')
36cf4507 207option('status-unit-format-default', type : 'combo',
580e198a 208 choices : ['description', 'name', 'combined'],
36cf4507 209 description : 'use unit name or description in messages by default')
ac09340e 210option('time-epoch', type : 'integer', value : '-1',
5c23128d 211 description : 'time epoch for time clients')
b10abe4b
EI
212option('clock-valid-range-usec-max', type : 'integer', value : '473364000000000', # 15 years
213 description : 'maximum value in microseconds for the difference between RTC and epoch, exceeding which is considered an RTC error')
9a797ddc 214
fc1a5d1a
ZJS
215option('system-alloc-uid-min', type : 'integer', value : '-1',
216 description : 'minimum system UID used when allocating')
217option('system-alloc-gid-min', type : 'integer', value : '-1',
218 description : 'minimum system GID used when allocating')
ac09340e 219option('system-uid-max', type : 'integer', value : '-1',
5c23128d 220 description : 'maximum system UID')
ac09340e 221option('system-gid-max', type : 'integer', value : '-1',
5c23128d 222 description : 'maximum system GID')
ac09340e
YW
223option('dynamic-uid-min', type : 'integer', value : 0x0000EF00,
224 description : 'minimum dynamic UID')
225option('dynamic-uid-max', type : 'integer', value : 0x0000FFEF,
226 description : 'maximum dynamic UID')
227option('container-uid-base-min', type : 'integer', value : 0x00080000,
228 description : 'minimum container UID base')
229option('container-uid-base-max', type : 'integer', value : 0x6FFF0000,
230 description : 'maximum container UID base')
5c23128d
ZJS
231option('adm-group', type : 'boolean',
232 description : 'the ACL for adm group should be added')
233option('wheel-group', type : 'boolean',
234 description : 'the ACL for wheel group should be added')
235option('nobody-user', type : 'string',
236 description : 'The name of the nobody user (the one with UID 65534)',
237 value : 'nobody')
238option('nobody-group', type : 'string',
239 description : 'The name of the nobody group (the one with GID 65534)',
240 value : 'nobody')
9a797ddc
ZJS
241option('adm-gid', type : 'integer', value : '-1',
242 description : 'soft-static allocation for the "adm" group')
243option('audio-gid', type : 'integer', value : '-1',
244 description : 'soft-static allocation for the "audio" group')
245option('cdrom-gid', type : 'integer', value : '-1',
246 description : 'soft-static allocation for the "cdrom" group')
247option('dialout-gid', type : 'integer', value : '-1',
248 description : 'soft-static allocation for the "dialout" group')
249option('disk-gid', type : 'integer', value : '-1',
250 description : 'soft-static allocation for the "disk" group')
251option('input-gid', type : 'integer', value : '-1',
252 description : 'soft-static allocation for the "input" group')
253option('kmem-gid', type : 'integer', value : '-1',
254 description : 'soft-static allocation for the "kmem" group')
255option('kvm-gid', type : 'integer', value : '-1',
256 description : 'soft-static allocation for the "kvm" group')
257option('lp-gid', type : 'integer', value : '-1',
258 description : 'soft-static allocation for the "lp" group')
259option('render-gid', type : 'integer', value : '-1',
260 description : 'soft-static allocation for the "render" group')
261option('sgx-gid', type : 'integer', value : '-1',
262 description : 'soft-static allocation for the "sgx" group')
263option('tape-gid', type : 'integer', value : '-1',
264 description : 'soft-static allocation for the "tape" group')
265option('tty-gid', type : 'integer', value : 5,
266 description : 'the numeric GID of the "tty" group')
267option('users-gid', type : 'integer', value : '-1',
268 description : 'soft-static allocation for the "users" group')
269option('utmp-gid', type : 'integer', value : '-1',
270 description : 'soft-static allocation for the "utmp" group')
271option('video-gid', type : 'integer', value : '-1',
272 description : 'soft-static allocation for the "video" group')
273option('wheel-gid', type : 'integer', value : '-1',
274 description : 'soft-static allocation for the "wheel" group')
275option('systemd-journal-gid', type : 'integer', value : '-1',
276 description : 'soft-static allocation for the systemd-journal group')
277option('systemd-network-uid', type : 'integer', value : '-1',
278 description : 'soft-static allocation for the systemd-network user')
279option('systemd-resolve-uid', type : 'integer', value : '-1',
280 description : 'soft-static allocation for the systemd-resolve user')
281option('systemd-timesync-uid', type : 'integer', value : '-1',
282 description : 'soft-static allocation for the systemd-timesync user')
283
b8fd3d82 284option('dev-kvm-mode', type : 'string', value : '0666',
5c23128d 285 description : '/dev/kvm access mode')
4e15a734
TS
286option('group-render-mode', type : 'string', value : '0666',
287 description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
5c23128d
ZJS
288option('default-kill-user-processes', type : 'boolean',
289 description : 'the default value for KillUserProcesses= setting')
b14e1b43
FB
290option('gshadow', type : 'boolean',
291 description : 'support for shadow group')
03475e22 292option('default-locale', type : 'string', value : '',
8ca9e92c 293 description : 'default locale used when /etc/locale.conf does not exist')
8f20232f
MK
294option('localegen-path', type : 'string', value : '',
295 description : 'absolute path to the locale-gen binary in case the system is using locale-gen')
21d0dd5a
ZJS
296option('service-watchdog', type : 'string', value : '3min',
297 description : 'default watchdog setting for systemd services')
5c23128d
ZJS
298
299option('default-dnssec', type : 'combo',
300 description : 'default DNSSEC mode',
301 choices : ['yes', 'allow-downgrade', 'no'],
302 value : 'allow-downgrade')
c9299be2
IT
303option('default-dns-over-tls', type : 'combo',
304 description : 'default DNS-over-TLS mode',
4310bfc2 305 choices : ['yes', 'opportunistic', 'no'],
5d67a7ae 306 value : 'no')
3614df05
ZJS
307option('default-mdns', type : 'combo',
308 choices : ['yes', 'resolve', 'no'],
309 description : 'default MulticastDNS mode',
310 value : 'yes')
311option('default-llmnr', type : 'combo',
312 choices : ['yes', 'resolve', 'no'],
313 description : 'default LLMNR mode',
314 value : 'yes')
096cbdce 315option('dns-over-tls', type : 'combo', choices : ['auto', 'gnutls', 'openssl', 'true', 'false'],
56ddbf10 316 description : 'DNS-over-TLS support')
5c23128d
ZJS
317option('dns-servers', type : 'string',
318 description : 'space-separated list of default DNS servers',
a83ddc08 319 value : '1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google')
5c23128d
ZJS
320option('ntp-servers', type : 'string',
321 description : 'space-separated list of default NTP servers',
322 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
323option('support-url', type : 'string',
324 description : 'the support URL to show in catalog entries included in systemd',
325 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
f75d75eb
ZJS
326option('www-target', type : 'string',
327 description : 'the address and dir to upload docs too',
328 value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
5c23128d 329
4390be30 330option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 331 description : 'SECCOMP support')
4390be30 332option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 333 description : 'SELinux support')
4390be30 334option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 335 description : 'AppArmor support')
5464ec8a 336option('smack', type : 'boolean',
5c23128d
ZJS
337 description : 'SMACK support')
338option('smack-run-label', type : 'string',
339 description : 'run systemd --system itself with a specific SMACK label')
4390be30 340option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
d35f51ea 341 description : 'polkit support')
2895c8ee
ZJS
342option('ima', type : 'boolean',
343 description : 'IMA support')
5c23128d 344
36f0387e
ZJS
345option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
346 description : 'libacl support')
4390be30 347option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 348 description : 'libaudit support')
4390be30 349option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 350 description : 'libblkid support')
e594a3b1
LP
351option('fdisk', type : 'combo', choices : ['auto', 'true', 'false'],
352 description : 'libfdisk support')
4390be30 353option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 354 description : 'support for loadable modules')
4390be30 355option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 356 description : 'PAM support')
70a5db58
LP
357option('pwquality', type : 'combo', choices : ['auto', 'true', 'false'],
358 description : 'libpwquality support')
4390be30 359option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 360 description : 'libµhttpd support')
4390be30 361option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 362 description : 'libcryptsetup support')
d1ae38d8
OK
363option('libcryptsetup-plugins', type : 'combo', choices : ['auto', 'true', 'false'],
364 description : 'libcryptsetup LUKS2 external token handlers support (plugins)')
4390be30 365option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 366 description : 'libcurl support')
d1bf5675 367option('idn', type : 'boolean',
38b38500 368 description : 'use IDN when printing hostnames')
87057e24
ZJS
369option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
370 description : 'libidn2 support')
4390be30 371option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 372 description : 'libidn support')
4390be30 373option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 374 description : 'libiptc support')
4390be30 375option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 376 description : 'libqrencode support')
76c87410
MB
377option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
378 description : 'gcrypt support')
4390be30 379option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 380 description : 'gnutls support')
096cbdce
IT
381option('openssl', type : 'combo', choices : ['auto', 'true', 'false'],
382 description : 'openssl support')
839fddbe
LP
383option('p11kit', type : 'combo', choices : ['auto', 'true', 'false'],
384 description : 'p11kit support')
af4fbd46
LP
385option('libfido2', type : 'combo', choices : ['auto', 'true', 'false'],
386 description : 'FIDO2 support')
5e521624
LP
387option('tpm2', type : 'combo', choices : ['auto', 'true', 'false'],
388 description : 'TPM2 support')
4390be30 389option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 390 description : 'elfutils support')
4390be30 391option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 392 description : 'zlib compression support')
4390be30 393option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 394 description : 'bzip2 compression support')
4390be30 395option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 396 description : 'xz compression support')
4390be30 397option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 398 description : 'lz4 compression support')
ef5924aa
NL
399option('zstd', type : 'combo', choices : ['auto', 'true', 'false'],
400 description : 'zstd compression support')
4390be30 401option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
1eeb43f5 402 description : 'xkbcommon keymap support')
c4c978a0
ZJS
403option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'],
404 description : 'regexp matching support using pcre2')
4390be30 405option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 406 description : 'libglib support (for tests only)')
4390be30 407option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 408 description : 'libdbus support (for tests only)')
5c23128d 409
4390be30 410option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
b710072d 411 description : 'gnu-efi support for sd-boot')
595343fb 412option('efi-cc', type : 'array',
b710072d 413 description : 'the compiler to use for EFI modules')
dcb6061e 414option('efi-ld', type : 'string', value : 'ld',
b710072d
ZJS
415 description : 'the linker to use for EFI modules')
416option('efi-libdir', type : 'string',
417 description : 'path to the EFI lib directory')
b710072d
ZJS
418option('efi-includedir', type : 'string', value : '/usr/include/efi',
419 description : 'path to the EFI header directory')
252b6b1b 420option('sbat-distro', type : 'string', value : 'auto',
9137c03c
DJL
421 description : 'SBAT distribution ID, e.g. fedora, or auto for autodetection')
422option('sbat-distro-generation', type : 'integer', value : 1,
423 description : 'SBAT distribution generation')
424option('sbat-distro-summary', type : 'string',
425 description : 'SBAT distribution summary, e.g. Fedora')
426option('sbat-distro-pkgname', type : 'string',
427 description : 'SBAT distribution package name, e.g. systemd')
428option('sbat-distro-version', type : 'string',
429 description : 'SBAT distribution package version, e.g. 248-7.fc34')
430option('sbat-distro-url', type : 'string',
431 description : 'SBAT distribution URL, e.g. https://src.fedoraproject.org/rpms/systemd')
e313e934
JJ
432option('efi-color-normal', type : 'string', value : 'lightgray,black',
433 description : 'general boot loader color in "foreground,background" form, see constants from eficon.h')
434option('efi-color-entry', type : 'string', value : 'lightgray,black',
435 description : 'boot loader color for entries')
436option('efi-color-highlight', type : 'string', value : 'black,lightgray',
437 description : 'boot loader color for selected entries')
2e65d610 438option('efi-color-edit', type : 'string', value : 'black,lightgray',
e313e934 439 description : 'boot loader color for option line edit')
b710072d 440
5c23128d
ZJS
441option('bashcompletiondir', type : 'string',
442 description : 'directory for bash completion scripts ["no" disables]')
443option('zshcompletiondir', type : 'string',
444 description : 'directory for zsh completion scripts ["no" disables]')
69e96427 445
08318a2c 446option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
69e96427 447 description : 'enable extra tests with =unsafe')
00d82c81
ZJS
448option('slow-tests', type : 'boolean', value : 'false',
449 description : 'run the slow tests by default')
c56463fd 450option('fuzz-tests', type : 'boolean', value : 'false',
f78ad5f0 451 description : 'run the fuzzer regression tests by default (with sanitizers)')
572baca1
ZJS
452option('install-tests', type : 'boolean', value : 'false',
453 description : 'install test executables')
7db7d5b7 454
ceedbf81 455option('ok-color', type : 'combo',
96164a39 456 choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
f7c5427c
ZJS
457 'white', 'highlight-black', 'highlight-red', 'highlight-green',
458 'highlight-yellow', 'highlight-blue', 'highlight-magenta',
459 'highlight-cyan', 'highlight-white'],
96164a39
AR
460 value : 'green',
461 description: 'color of the "OK" status message')
e5d86ebe
JH
462option('urlify', type : 'boolean', value : 'true',
463 description : 'enable pager Hyperlink ANSI sequence support')
ceedbf81
ZJS
464option('fexecve', type : 'boolean', value : 'false',
465 description : 'use fexecve() to spawn children')
96164a39 466
7db7d5b7
JR
467option('oss-fuzz', type : 'boolean', value : 'false',
468 description : 'build against oss-fuzz')
31e57a35
JR
469option('llvm-fuzz', type : 'boolean', value : 'false',
470 description : 'build against LLVM libFuzzer')
5fa5c3e2 471option('kernel-install', type: 'boolean', value: 'true',
f30bf4d9 472 description : 'install kernel-install and associated files')
dd0f7952 473option('analyze', type: 'boolean', value: 'true',
f30bf4d9 474 description : 'install systemd-analyze')
7d861e12
JK
475
476option('bpf-framework', type : 'combo', choices : ['auto', 'true', 'false'],
477 description: 'build BPF programs from source code in restricted C')