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