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