]> git.proxmox.com Git - mirror_lxc.git/blob - meson_options.txt
meson.build: allow explicit distrosysconfdir
[mirror_lxc.git] / meson_options.txt
1 # -*- mode: meson -*-
2
3 # Main options
4 # was --cgroup-pattern in autotools
5 option('cgroup-pattern', type: 'string', value: '',
6 description: 'CGroup pattern')
7
8 # was --coverity-build in autotools
9 option('coverity-build', type: 'boolean', value: 'true',
10 description: 'build for coverity')
11
12 # was --{disable,enable}-examples in autotools
13 option('examples', type: 'boolean', value: 'true',
14 description: 'build and install examples')
15
16 # was --init-script in autotools
17 option('init-script', type : 'array',
18 choices : ['systemd', 'sysvinit', 'upstart'], value : ['systemd'],
19 description : 'init script')
20
21 # was --{disable,enable}-liburing in autotools
22 option('io-uring-event-loop', type: 'boolean', value: 'false',
23 description: 'Enable io-uring based event loop')
24
25 option('sd-bus', type: 'feature', value: 'auto',
26 description: 'Enable linking against sd-bus')
27
28 # was --{disable,enable}-doc in autotools
29 option('man', type: 'boolean', value: 'true',
30 description: 'build and install manpages')
31
32 # was --{disable,enable}-pam in autotools
33 option('pam-cgroup', type: 'boolean', value: 'false',
34 description: 'build and install the pam cgroup module')
35
36 # was --{disable,enable}-tools in autotools
37 option('tools', type: 'boolean', value: 'true',
38 description: 'build and install tools')
39
40 option('tools-multicall', type: 'boolean', value: 'false',
41 description: 'build and install busybox style multicall binary')
42
43 # was --{disable,enable}-commands in autotools
44 option('commands', type: 'boolean', value: 'true',
45 description: 'build and install commands')
46
47 # was --{disable,enable}-capabilities in autotools
48 option('capabilities', type: 'boolean', value: 'true',
49 description: 'use capabilities')
50
51 # was --{disable,enable}-seccomp in autotools
52 option('seccomp', type: 'boolean', value: 'true',
53 description: 'use seccomp')
54
55 # was --{disable,enable}-apparmor in autotools
56 option('apparmor', type: 'boolean', value: 'true',
57 description: 'use apparmor')
58
59 # was --{disable,enable}-openssl in autotools
60 option('openssl', type: 'boolean', value: 'true',
61 description: 'use openssl')
62
63 # was --{disable,enable}-selinux in autotools
64 option('selinux', type: 'boolean', value: 'true',
65 description: 'use selinux')
66
67 # was --{disable,enable}-tests in autotools
68 option('tests', type: 'boolean', value: 'false',
69 description: 'build and install tests')
70
71 # Paths
72 # was --apparmor-cache-dir in autotools
73 option('apparmor-cache-path', type: 'string', value: 'cache/lxc/apparmor',
74 description: 'AppArmor cache directory')
75
76 # was --with-config-path in autotools
77 option('data-path', type: 'string', value: 'lib/lxc',
78 description: 'Container storage directory')
79
80 # was --with-doc-dir in autotools
81 option('doc-path', type: 'string', value: 'doc/lxc',
82 description: 'Documentation directory')
83
84 # was --with-global-conf in autotools
85 option('global-config-path', type: 'string', value: 'lxc',
86 description: 'Global configuration directory')
87
88 # was --log-path in autotools
89 option('log-path', type: 'string', value: 'log/lxc',
90 description: 'Loging directory')
91
92 # was --with-rootfs-path in autotools
93 option('rootfs-mount-path', type: 'string', value: 'lxc/rootfs',
94 description: 'Container rootfs mount directory')
95
96 # was --with-runtime-path in autotools
97 option('runtime-path', type: 'string', value: '/run',
98 description: 'Main runtime directory')
99
100 # was --with-usernic-conf in autotools
101 option('usernet-config-path', type: 'string', value: 'lxc/lxc-usernet',
102 description: 'User network configuration file path')
103
104 # was --with-usernic-db in autotools
105 option('usernet-db-path', type: 'string', value: 'lxc/nics',
106 description: 'User network database file path')
107
108 option('oss-fuzz', type : 'boolean', value : 'false',
109 description : 'build against oss-fuzz')
110
111 # was --{disable,enable}-thread-safety in autotools
112 option('thread-safety', type : 'boolean', value : 'true',
113 description : 'whether the build fails when thread-safe logging cannot be guaranteed')
114
115 # was --{disable,enable}-memfd-rexec in autotools
116 option('memfd-rexec', type : 'boolean', value : 'true',
117 description : 'whether to rexec the lxc-attach binary when attaching to a container')
118
119 option('distrosysconfdir', type : 'string', value: '',
120 description: 'relative path to sysconfdir for distro default configuration')