]> git.ipfire.org Git - thirdparty/systemd.git/blame - meson_options.txt
meson: add test-dlopen
[thirdparty/systemd.git] / meson_options.txt
CommitLineData
5c23128d
ZJS
1# -*- mode: meson -*-
2
3option('split-usr', type : 'boolean', value : false,
4 description : '''assume that /bin, /sbin aren't symlinks into /usr''')
5option('rootlibdir', type : 'string',
6 description : '''[/usr]/lib/x86_64-linux-gnu or such''')
ab916f2e
ZJS
7option('rootprefix', type : 'string',
8 description : '''override the root prefix''')
5c23128d
ZJS
9
10option('sysvinit-path', type : 'string', value : '/etc/init.d',
11 description : 'the directory where the SysV init scripts are located')
12option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
13 description : 'the base directory for SysV rcN.d directories')
14option('telinit-path', type : 'string', description : 'path to telinit')
2a4c156d
ZJS
15option('rc-local', type : 'string',
16 value : '/etc/rc.local')
17option('halt-local', type : 'string',
18 value : '/usr/sbin/halt.local')
5c23128d
ZJS
19
20option('quotaon-path', type : 'string', description : 'path to quotaon')
21option('quotacheck-path', type : 'string', description : 'path to quotacheck')
22option('kill-path', type : 'string', description : 'path to kill')
23option('kmod-path', type : 'string', description : 'path to kmod')
24option('kexec-path', type : 'string', description : 'path to kexec')
25option('sulogin-path', type : 'string', description : 'path to sulogin')
26option('mount-path', type : 'string', description : 'path to mount')
27option('umount-path', type : 'string', description : 'path to umount')
28option('loadkeys-path', type : 'string', description : 'path to loadkeys')
29option('setfont-path', type : 'string', description : 'path to setfont')
30
3131bfe3
ZJS
31option('debug-shell', type : 'string', value : '/bin/sh',
32 description : 'path to debug shell binary')
33option('debug-tty', type : 'string', value : '/dev/tty9',
34 description : 'specify the tty device for debug shell')
35
5c23128d
ZJS
36option('utmp', type : 'boolean',
37 description : 'support for utmp/wtmp log handling')
38option('hibernate', type : 'boolean',
39 description : 'support for hibernation')
40option('ldconfig', type : 'boolean',
41 description : 'support for dynamic linker cache creation')
42option('resolve', type : 'boolean',
43 description : 'systemd-resolved stack')
44option('efi', type : 'boolean',
8191c594 45 description : 'enable systemd-boot and bootctl')
5c23128d
ZJS
46option('environment-d', type : 'boolean',
47 description : 'support for environment.d')
48option('binfmt', type : 'boolean',
49 description : 'support for custom binary formats')
50option('coredump', type : 'boolean',
51 description : 'install the coredump handler')
52option('logind', type : 'boolean',
53 description : 'install the systemd-logind stack')
54option('hostnamed', type : 'boolean',
55 description : 'install the systemd-hostnamed stack')
56option('localed', type : 'boolean',
57 description : 'install the systemd-localed stack')
58option('machined', type : 'boolean',
59 description : 'install the systemd-machined stack')
60option('networkd', type : 'boolean',
61 description : 'install the systemd-networkd stack')
62option('timedated', type : 'boolean',
63 description : 'install the systemd-timedated daemon')
64option('timesyncd', type : 'boolean',
65 description : 'install the systemd-timesyncd daemon')
66option('remote', type : 'boolean',
67 description : 'support for "journal over the network"')
68option('myhostname', type : 'boolean',
69 description : 'nss-myhostname support')
70option('firstboot', type : 'boolean',
71 description : 'support for firstboot mechanism')
72option('randomseed', type : 'boolean',
73 description : 'support for restoring random seed')
74option('backlight', type : 'boolean',
75 description : 'support for restoring backlight state')
76option('vconsole', type : 'boolean',
77 description : 'support for vconsole configuration')
78option('quotacheck', type : 'boolean',
79 description : 'support for the quotacheck tools')
80option('sysusers', type : 'boolean',
81 description : 'support for the sysusers configuration')
82option('tmpfiles', type : 'boolean',
83 description : 'support for tmpfiles.d')
84option('importd', type : 'boolean',
85 description : 'install the systemd-importd daemon')
86option('hwdb', type : 'boolean',
87 description : 'support for the hardware database')
88option('rfkill', type : 'boolean',
89 description : 'support for the rfkill tools')
4390be30 90option('man', type : 'combo', choices : ['auto', 'true', 'false'],
527d43d7 91 description : 'build and install man pages')
4390be30
ZJS
92option('html', type : 'combo', choices : ['auto', 'true', 'false'],
93 value : 'false',
527d43d7 94 description : 'build and install html pages')
5c23128d
ZJS
95
96option('certificate-root', type : 'string', value : '/etc/ssl',
97 description : 'the prefix for TLS certificates')
98option('dbuspolicydir', type : 'string',
99 description : 'D-Bus policy directory')
100option('dbussessionservicedir', type : 'string',
101 description : 'D-Bus session service directory')
102option('dbussystemservicedir', type : 'string',
103 description : 'D-Bus system service directory')
104option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig',
105 description : 'directory for ')
106option('pkgconfiglibdir', type : 'string', value : '',
107 description : 'directory for ')
108option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
109 description : 'directory for rpm macros ["no" disables]')
110option('pamlibdir', type : 'string',
111 description : 'directory for PAM modules')
112option('pamconfdir', type : 'string',
113 description : 'directory for PAM configuration ["no" disables]')
114
115option('fallback-hostname', type : 'string', value : 'localhost',
116 description : 'the hostname used if none configured')
117option('default-hierarchy', type : 'combo',
118 choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
119 description : 'default cgroup hierarchy')
120option('time-epoch', type : 'string',
121 description : 'time epoch for time clients')
122option('system-uid-max', type : 'string',
123 description : 'maximum system UID')
124option('system-gid-max', type : 'string',
125 description : 'maximum system GID')
126option('tty-gid', type : 'string',
127 description : 'the numeric GID of the "tty" group',
128 value : '5')
129option('adm-group', type : 'boolean',
130 description : 'the ACL for adm group should be added')
131option('wheel-group', type : 'boolean',
132 description : 'the ACL for wheel group should be added')
133option('nobody-user', type : 'string',
134 description : 'The name of the nobody user (the one with UID 65534)',
135 value : 'nobody')
136option('nobody-group', type : 'string',
137 description : 'The name of the nobody group (the one with GID 65534)',
138 value : 'nobody')
139option('dev-kvm-mode', type : 'string', value : '0660',
140 description : '/dev/kvm access mode')
141option('default-kill-user-processes', type : 'boolean',
142 description : 'the default value for KillUserProcesses= setting')
143
144option('default-dnssec', type : 'combo',
145 description : 'default DNSSEC mode',
146 choices : ['yes', 'allow-downgrade', 'no'],
147 value : 'allow-downgrade')
148option('dns-servers', type : 'string',
149 description : 'space-separated list of default DNS servers',
150 value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844')
151option('ntp-servers', type : 'string',
152 description : 'space-separated list of default NTP servers',
153 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
154option('support-url', type : 'string',
155 description : 'the support URL to show in catalog entries included in systemd',
156 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
157
4390be30 158option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 159 description : 'SECCOMP support')
4390be30 160option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 161 description : 'SELinux support')
4390be30 162option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 163 description : 'AppArmor support')
4390be30 164option('smack', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d
ZJS
165 description : 'SMACK support')
166option('smack-run-label', type : 'string',
167 description : 'run systemd --system itself with a specific SMACK label')
4390be30 168option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
3ca0cb73 169 description : 'PolicyKit support')
2895c8ee
ZJS
170option('ima', type : 'boolean',
171 description : 'IMA support')
5c23128d 172
4390be30 173option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 174 description : 'libaudit support')
4390be30 175option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 176 description : 'libblkid support')
4390be30 177option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 178 description : 'support for loadable modules')
4390be30 179option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 180 description : 'PAM support')
4390be30 181option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 182 description : 'libµhttpd support')
4390be30 183option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 184 description : 'libcryptsetup support')
4390be30 185option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 186 description : 'libcurl support')
4390be30 187option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 188 description : 'libidn support')
4390be30 189option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 190 description : 'libiptc support')
4390be30 191option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 192 description : 'libqrencode support')
4390be30 193option('libgcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 194 description : 'libgcrypt support')
4390be30 195option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 196 description : 'gnutls support')
4390be30 197option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 198 description : 'elfutils support')
4390be30 199option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 200 description : 'zlib compression support')
4390be30 201option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 202 description : 'bzip2 compression support')
4390be30 203option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 204 description : 'xz compression support')
4390be30 205option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 206 description : 'lz4 compression support')
4390be30 207option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
1eeb43f5 208 description : 'xkbcommon keymap support')
4390be30 209option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 210 description : 'libglib support (for tests only)')
4390be30 211option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 212 description : 'libdbus support (for tests only)')
5c23128d 213
4390be30 214option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
b710072d
ZJS
215 description : 'gnu-efi support for sd-boot')
216option('efi-cc', type : 'string', value : 'gcc',
217 description : 'the compiler to use for EFI modules')
218option('efi-ld', type : 'string', value : 'ld',
219 description : 'the linker to use for EFI modules')
220option('efi-libdir', type : 'string',
221 description : 'path to the EFI lib directory')
222option('efi-ldsdir', type : 'string',
223 description : 'path to the EFI lds directory')
224option('efi-includedir', type : 'string', value : '/usr/include/efi',
225 description : 'path to the EFI header directory')
226
5c23128d
ZJS
227option('bashcompletiondir', type : 'string',
228 description : 'directory for bash completion scripts ["no" disables]')
229option('zshcompletiondir', type : 'string',
230 description : 'directory for zsh completion scripts ["no" disables]')
69e96427 231
4390be30 232option('tests', type : 'combo', choices : ['true', 'unsafe'],
69e96427 233 description : 'enable extra tests with =unsafe')
572baca1
ZJS
234option('install-tests', type : 'boolean', value : 'false',
235 description : 'install test executables')