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