File: meson_options.txt

package info (click to toggle)
elogind 241.3-1+debian1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,044 kB
  • sloc: ansic: 102,512; xml: 15,615; python: 481; sh: 260; makefile: 38; awk: 29; perl: 17
file content (400 lines) | stat: -rw-r--r-- 20,142 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
# -*- mode: meson -*-
# SPDX-License-Identifier: LGPL-2.1+

option('version-tag', type : 'string',
       description : 'override the git version string')

option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
       description : '''/bin, /sbin aren't symlinks into /usr''')
option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
       description : '''sbin is not a symlink to bin''')
option('rootlibdir', type : 'string',
       description : '''[/usr]/lib/x86_64-linux-gnu or such''')
option('rootprefix', type : 'string',
       description : '''override the root prefix''')
#if 0 /// UNNEEDED by elogind
# option('link-udev-shared', type : 'boolean',
#        description : 'link systemd-udev and its helpers to libsystemd-shared.so')
# option('link-systemctl-shared', type: 'boolean',
#        description : 'link systemctl against libsystemd-shared.so')
#endif // 0
option('static-libelogind', type : 'combo',
       choices : ['false', 'true', 'pic', 'no-pic'],
       description : '''install a static library for libelogind''')
#if 0 /// UNNEEDED by elogind
# option('static-libudev', type : 'combo',
#        choices : ['false', 'true', 'pic', 'no-pic'],
#        description : '''install a static library for libudev''')
#
# option('sysvinit-path', type : 'string', value : '/etc/init.d',
#        description : 'the directory where the SysV init scripts are located')
# option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
#        description : 'the base directory for SysV rcN.d directories')
# option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit',
#        description : 'path to telinit')
# option('rc-local', type : 'string',
#        value : '/etc/rc.local')
# option('halt-local', type : 'string',
#        value : '/usr/sbin/halt.local')
#
# option('quotaon-path', type : 'string', description : 'path to quotaon')
# option('quotacheck-path', type : 'string', description : 'path to quotacheck')
# option('kmod-path', type : 'string', description : 'path to kmod')
#else
# elogind must have a configurable rootlibexecdir
option('rootlibexecdir', type : 'string',
       description : '''override the root libexec directory path''')

# And because elogind depends on external udev, it must be
# configurable as well.
option('udevrulesdir', type : 'string',
       description : '''directory for udev rules files''')

option('udevbindir', type : 'string',
       description : '''directory for udev binary files''')

# We are nice and make the documentation paths configurable
option('docdir', type : 'string', description : 'path where to install the documentation.')
option('htmldir', type : 'string', description : 'path where to install the HTML documentation.')

# We have no systemd-shutdown binary, so we need 'halt', 'reboot' and 'poweroff'
option('halt-path', type : 'string', description : 'path to halt')
option('poweroff-path', type : 'string', description : 'path to poweroff')
option('reboot-path', type : 'string', description : 'path to reboot')
#endif // 0
option('kexec-path', type : 'string', description : 'path to kexec')
#if 0 /// UNNEEDED by elogind
# option('sulogin-path', type : 'string', description : 'path to sulogin')
# option('mount-path', type : 'string', description : 'path to mount')
# option('umount-path', type : 'string', description : 'path to umount')
# option('loadkeys-path', type : 'string', description : 'path to loadkeys')
# option('setfont-path', type : 'string', description : 'path to setfont')
#
# option('debug-shell', type : 'string', value : '/bin/sh',
#        description : 'path to debug shell binary')
# option('debug-tty', type : 'string', value : '/dev/tty9',
#        description : 'specify the tty device for debug shell')
# option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash', 'udev'], value : [],
#        description : 'enable extra debugging')
#else
option('debug-extra', type : 'array', choices : ['elogind', 'hashmap', 'mmap-cache', 'siphash'], value : [],
       description : 'enable extra debugging')
#endif // 0
#if 0 /// UNNEEDED by elogind
# option('memory-accounting-default', type : 'boolean',
#        description : 'enable MemoryAccounting= by default')
# option('bump-proc-sys-fs-file-max', type : 'boolean',
#        description : 'bump /proc/sys/fs/file-max to ULONG_MAX')
# option('bump-proc-sys-fs-nr-open', type : 'boolean',
#        description : 'bump /proc/sys/fs/nr_open to INT_MAX')
#endif // 0
option('valgrind', type : 'boolean', value : false,
       description : 'do extra operations to avoid valgrind warnings')
option('log-trace', type : 'boolean', value : false,
       description : 'enable low level debug logging')

option('utmp', type : 'boolean',
       description : 'support for utmp/wtmp log handling')
#if 0 /// UNNEEDED by elogind
# option('hibernate', type : 'boolean',
#        description : 'support for hibernation')
# option('ldconfig', type : 'boolean',
#        description : 'support for dynamic linker cache creation')
# option('resolve', type : 'boolean',
#        description : 'systemd-resolved stack')
# option('efi', type : 'boolean',
#        description : 'enable systemd-boot and bootctl')
# option('tpm', type : 'boolean',
#        description : 'TPM should be used to log events and extend the registers')
# option('environment-d', type : 'boolean',
#        description : 'support for environment.d')
# option('binfmt', type : 'boolean',
#        description : 'support for custom binary formats')
# option('coredump', type : 'boolean',
#        description : 'install the coredump handler')
# option('logind', type : 'boolean',
#        description : 'install the systemd-logind stack')
# option('hostnamed', type : 'boolean',
#        description : 'install the systemd-hostnamed stack')
# option('localed', type : 'boolean',
#        description : 'install the systemd-localed stack')
# option('machined', type : 'boolean',
#        description : 'install the systemd-machined stack')
# option('portabled', type : 'boolean',
#        description : 'install the systemd-portabled stack')
# option('networkd', type : 'boolean',
#        description : 'install the systemd-networkd stack')
# option('timedated', type : 'boolean',
#        description : 'install the systemd-timedated daemon')
# option('timesyncd', type : 'boolean',
#        description : 'install the systemd-timesyncd daemon')
# option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'support for "journal over the network"')
# option('nss-myhostname', type : 'boolean',
#        description : 'install nss-myhostname module')
# option('nss-mymachines', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'install nss-mymachines module')
# option('nss-resolve', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'install nss-resolve module')
# option('nss-systemd', type : 'boolean',
#        description : 'install nss-systemd module')
# option('firstboot', type : 'boolean',
#        description : 'support for firstboot mechanism')
# option('randomseed', type : 'boolean',
#        description : 'support for restoring random seed')
# option('backlight', type : 'boolean',
#        description : 'support for restoring backlight state')
# option('vconsole', type : 'boolean',
#        description : 'support for vconsole configuration')
# option('quotacheck', type : 'boolean',
#        description : 'support for the quotacheck tools')
# option('sysusers', type : 'boolean',
#        description : 'support for the sysusers configuration')
# option('tmpfiles', type : 'boolean',
#        description : 'support for tmpfiles.d')
# option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'install the systemd-importd daemon')
# option('hwdb', type : 'boolean',
#        description : 'support for the hardware database')
# option('rfkill', type : 'boolean',
#        description : 'support for the rfkill tools')
#endif // 0
option('man', type : 'combo', choices : ['auto', 'true', 'false'],
       description : 'build and install man pages')
option('html', type : 'combo', choices : ['auto', 'true', 'false'],
       value : 'false',
       description : 'build and install html pages')

#if 0 /// UNNEEDED by elogind
# option('certificate-root', type : 'string', value : '/etc/ssl',
#        description : 'the prefix for TLS certificates')
#endif // 0
option('dbuspolicydir', type : 'string',
       description : 'D-Bus policy directory')
option('dbussessionservicedir', type : 'string',
       description : 'D-Bus session service directory')
option('dbussystemservicedir', type : 'string',
       description : 'D-Bus system service directory')
option('pkgconfigdatadir', type : 'string', value : '',
       description : 'directory for ')
option('pkgconfiglibdir', type : 'string', value : '',
       description : 'directory for ')
#if 0 /// UNNEEDED by elogind
# option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
#        description : 'directory for rpm macros ["no" disables]')
#endif // 0
option('pamlibdir', type : 'string',
       description : 'directory for PAM modules')
option('pamconfdir', type : 'string',
       description : 'directory for PAM configuration ["no" disables]')
option('docdir', type : 'string',
       description : 'documentation directory')

option('fallback-hostname', type : 'string', value : 'localhost',
       description : 'the hostname used if none configured')
#if 0 /// UNNEEDED by elogind
# option('compat-gateway-hostname', type : 'boolean', value : 'false',
#        description : 'allow "gateway" as the symbolic name for default gateway')
#endif // 0
option('default-hierarchy', type : 'combo',
       choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
#if 0 /// elogind interprets this a bit different
#        description : 'default cgroup hierarchy')
#else
       description : '''Wanted cgroup hierarchy if elogind has to be a cgroup controller:
                "legacy"  assumes tmpfs mounted on /sys/fs/cgroup and cgroup on its
                                  subfolders.
                "hybrid"  assumes cgroups version 2 mounted on /sys/fs/cgroup/unified.
                                  /sys/fs/cgroup is legacy, then.
                "unified" assumes cgroups version 2 on /sys/fs/cgroup''')
option('cgroup-controller', type : 'string',
       description : 'Name of the cgroup controller to use')
#endif // 0
#if 0 /// UNNEEDED by elogind
# option('default-net-naming-scheme', type : 'combo',
#        choices : ['latest', 'v238', 'v239', 'v240'],
#        description : 'default net.naming-scheme= value')
# option('time-epoch', type : 'integer', value : '-1',
#        description : 'time epoch for time clients')
#endif // 0
option('system-uid-max', type : 'integer', value : '-1',
       description : 'maximum system UID')
option('system-gid-max', type : 'integer', value : '-1',
       description : 'maximum system GID')
#if 0 /// UNNEEDED by elogind
# option('dynamic-uid-min', type : 'integer', value : 0x0000EF00,
#        description : 'minimum dynamic UID')
# option('dynamic-uid-max', type : 'integer', value : 0x0000FFEF,
#        description : 'maximum dynamic UID')
# option('container-uid-base-min', type : 'integer', value : 0x00080000,
#        description : 'minimum container UID base')
# option('container-uid-base-max', type : 'integer', value : 0x6FFF0000,
#        description : 'maximum container UID base')
#endif // 0
option('tty-gid', type : 'integer', value : 5,
       description : 'the numeric GID of the "tty" group')
#if 0 /// UNNEEDED by elogind
# option('users-gid', type : 'integer', value : '-1',
#        description : 'the numeric GID of the "users" group')
# option('adm-group', type : 'boolean',
#        description : 'the ACL for adm group should be added')
# option('wheel-group', type : 'boolean',
#        description : 'the ACL for wheel group should be added')
#endif // 0
option('nobody-user', type : 'string',
       description : 'The name of the nobody user (the one with UID 65534)',
       value : 'nobody')
option('nobody-group', type : 'string',
       description : 'The name of the nobody group (the one with GID 65534)',
       value : 'nobody')
option('dev-kvm-mode', type : 'string', value : '0666',
       description : '/dev/kvm access mode')
option('group-render-mode', type : 'string', value : '0666',
       description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
option('default-kill-user-processes', type : 'boolean',
       description : 'the default value for KillUserProcesses= setting')
option('gshadow', type : 'boolean',
       description : 'support for shadow group')
option('default-locale', type : 'string', value : '',
       description : 'default locale used when /etc/locale.conf does not exist')

#if 0 /// UNNEEDED by elogind
# option('default-dnssec', type : 'combo',
#        description : 'default DNSSEC mode',
#        choices : ['yes', 'allow-downgrade', 'no'],
#        value : 'allow-downgrade')
# option('default-dns-over-tls', type : 'combo',
#        description : 'default DNS-over-TLS mode',
#        choices : ['opportunistic', 'no'],
#        value : 'no')
# option('dns-over-tls', type : 'combo', choices : ['auto', 'gnutls', 'openssl', 'true', 'false'],
#        description : 'DNS-over-TLS support')
# option('dns-servers', type : 'string',
#        description : 'space-separated list of default DNS servers',
#        value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844')
# option('ntp-servers', type : 'string',
#        description : 'space-separated list of default NTP servers',
#        value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
# option('support-url', type : 'string',
#        description : 'the support URL to show in catalog entries included in systemd',
#        value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
# option('www-target', type : 'string',
#        description : 'the address and dir to upload docs too',
#        value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
#
# option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'SECCOMP support')
#endif // 0
option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
       description : 'SELinux support')
#if 0 /// UNNEEDED by elogind
# option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'AppArmor support')
#endif // 0
option('smack', type : 'boolean',
       description : 'SMACK support')
option('smack-run-label', type : 'string',
       description : 'run systemd --system itself with a specific SMACK label')
option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
       description : 'polkit support')
option('ima', type : 'boolean',
       description : 'IMA support')

option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
       description : 'libacl support')
option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
       description : 'libaudit support')
#if 0 /// UNNEEDED by elogind
# option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'libblkid support')
# option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'support for loadable modules')
#endif // 0
option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
       description : 'PAM support')
#if 0 /// UNNEEDED by elogind
# option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'libµhttpd support')
# option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'libcryptsetup support')
# option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'libcurl support')
# option('idn', type : 'boolean',
#        description : 'use IDN when printing host names')
# option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'libidn2 support')
# option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'libidn support')
# option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'libiptc support')
# option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'libqrencode support')
# option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'gcrypt support')
# option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'gnutls support')
# option('openssl', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'openssl support')
# option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'elfutils support')
# option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'zlib compression support')
# option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'bzip2 compression support')
# option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'xz compression support')
# option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'lz4 compression support')
# option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'xkbcommon keymap support')
#endif // 0
option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'],
       description : 'regexp matching support using pcre2')
option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
       description : 'libglib support (for tests only)')
option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
       description : 'libdbus support (for tests only)')

#if 0 /// UNNEEDED BY elogind
# option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
#        description : 'gnu-efi support for sd-boot')
# option('efi-cc', type : 'array',
#        description : 'the compiler to use for EFI modules')
# option('efi-ld', type : 'string',
#        description : 'the linker to use for EFI modules')
# option('efi-libdir', type : 'string',
#        description : 'path to the EFI lib directory')
# option('efi-ldsdir', type : 'string',
#        description : 'path to the EFI lds directory')
# option('efi-includedir', type : 'string', value : '/usr/include/efi',
#        description : 'path to the EFI header directory')
# option('tpm-pcrindex', type : 'integer', value : 8,
#        description : 'TPM PCR register number to use')
#endif // 0

option('bashcompletiondir', type : 'string',
       description : 'directory for bash completion scripts ["no" disables]')
option('zshcompletiondir', type : 'string',
       description : 'directory for zsh completion scripts ["no" disables]')

option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
       description : 'enable extra tests with =unsafe')
option('slow-tests', type : 'boolean', value : 'false',
       description : 'run the slow tests by default')
option('install-tests', type : 'boolean', value : 'false',
       description : 'install test executables')

option('ok-color', type: 'combo',
       choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
                  'white', 'highlight-black', 'highlight-red', 'highlight-green',
                  'highlight-yellow', 'highlight-blue', 'highlight-magenta',
                  'highlight-cyan', 'highlight-white'],
       value : 'green',
       description: 'color of the "OK" status message')

#if 0 /// fuzz regression tests are not supported by elogind
# option('oss-fuzz', type : 'boolean', value : 'false',
#        description : 'build against oss-fuzz')
# option('llvm-fuzz', type : 'boolean', value : 'false',
#        description : 'build against LLVM libFuzzer')
#endif // 0