]> git.ipfire.org Git - thirdparty/util-linux.git/blame - meson_options.txt
Merge branch 'meson-more-build-options' of https://github.com/jwillikers/util-linux
[thirdparty/util-linux.git] / meson_options.txt
CommitLineData
d4c880d5
ZJS
1# enable various dependencies (no prefixes)
2
3option('tinfo', type : 'feature')
4option('ncursesw', type : 'feature')
5option('ncurses', type : 'feature')
6option('slang', type : 'feature', value : 'disabled',
7 description : 'compile cfdisk with slang rather than ncurses')
8option('cryptsetup', type : 'feature')
6e92db54 9option('cryptsetup-dlopen', type : 'feature')
d4c880d5
ZJS
10option('zlib', type : 'feature')
11option('readline', type : 'feature')
fc63a3d0 12option('nls', type : 'feature')
d4c880d5
ZJS
13option('libutil', type : 'feature')
14option('libutempter', type : 'feature')
bdaed0cd 15option('libpcre2-posix', type : 'feature')
d4c880d5
ZJS
16option('libuser', type : 'feature')
17option('selinux', type : 'feature', value : 'disabled')
18option('audit', type : 'feature', value : 'disabled')
19option('smack', type : 'feature', value : 'disabled')
308a0979
KZ
20option('magic', type : 'feature')
21option('econf', type : 'feature')
d4c880d5 22option('systemd', type : 'feature')
5e67b421
CH
23option('sysvinit', type : 'feature', value : 'disabled',
24 description : 'build and install sysvinit startup scripts')
d4c880d5
ZJS
25option('btrfs', type : 'feature')
26option('widechar', type : 'feature',
27 description : 'compile with wide character support')
28
29# enable building of various programs and features ("build-" prefix)
30
31option('build-python', type : 'feature', value : 'auto',
32 description : 'build python extension module')
33option('python', type : 'string', value : 'python3',
34 description : 'build extension module for this python')
35
36option('build-libblkid', type : 'feature',
37 description : 'build libblkid and many related utilities')
38option('build-libuuid', type : 'feature',
39 description : 'build libuuid and uuid utilities')
c2e299d0
SS
40option('build-liblastlog2', type : 'feature',
41 description : 'build liblastlog2 and lastlog2 utilities')
6b61e282
TW
42option('build-pam-lastlog2', type : 'feature',
43 description : 'build PAM lastlog2 module')
d4c880d5
ZJS
44option('build-libmount', type : 'feature',
45 description : 'build libmount')
46option('build-libsmartcols', type : 'feature',
47 description : 'build libsmartcols')
48option('build-libfdisk', type : 'feature',
49 description : 'build libfdisk')
50
51
52option('build-fdisks', type : 'feature',
53 description : 'build fdisk(8), sfdisk(8) and cfdisk(8)')
54option('build-mount', type : 'feature',
55 description : 'build mount(8) and umount(8)')
b6799ccb
JW
56option('build-swapon', type : 'feature',
57 description : 'build swapon')
58option('build-swapoff', type : 'feature',
59 description : 'build swapoff')
a2c940f4
JW
60option('build-chcpu', type : 'feature',
61 description : 'build chcpu')
d4c880d5
ZJS
62option('build-losetup', type : 'feature',
63 description : 'build losetup')
64option('build-zramctl', type : 'feature',
65 description : 'build zramctl')
b6799ccb
JW
66option('build-lsns', type : 'feature',
67 description : 'build lsns')
d4c880d5
ZJS
68option('build-fsck', type : 'feature',
69 description : 'build fsck')
70option('build-partx', type : 'feature',
71 description : 'build addpart, delpart, partx')
236918fc
JW
72option('build-script', type : 'feature',
73 description : 'build script')
8f6efe8c
JW
74option('build-scriptlive', type : 'feature',
75 description : 'build scriptlive')
d4c880d5
ZJS
76
77option('build-uuidd', type : 'feature',
78 description : 'build the uuid daemon')
79
80option('build-wipefs', type : 'feature',
81 description : 'build wipefs')
82option('build-mountpoint', type : 'feature',
83 description : 'build mountpoint')
84option('build-fallocate', type : 'feature',
85 description : 'build fallocate')
86option('build-unshare', type : 'feature',
87 description : 'build unshare')
88option('build-nsenter', type : 'feature',
89 description : 'build nsenter')
90option('build-setpriv', type : 'feature',
91 description : 'build setpriv')
92option('build-hardlink', type : 'feature',
93 description : 'build hardlink')
94option('build-eject', type : 'feature',
95 description : 'build eject')
96option('build-agetty', type : 'feature',
97 description : 'build agetty')
98option('build-cramfs', type : 'feature',
99 description : 'build fsck.cramfs, mkfs.cramfs')
100option('build-bfs', type : 'feature',
101 description : 'build mkfs.bfs')
102option('build-minix', type : 'feature',
103 description : 'build fsck.minix, mkfs.minix')
6e92db54 104option('build-fdformat', type : 'feature', value : 'disabled',
d4c880d5 105 description : 'build fdformat')
3e6d539e
JW
106option('build-blockdev', type : 'feature',
107 description : 'build blockdev')
d4c880d5
ZJS
108option('build-hwclock', type : 'feature',
109 description : 'build hwclock')
110option('build-lslogins', type : 'feature',
111 description : 'build lslogins')
112option('build-wdctl', type : 'feature',
113 description : 'build wdctl')
114option('build-cal', type : 'feature',
115 description : 'build cal')
116option('build-logger', type : 'feature',
117 description : 'build logger')
b6799ccb
JW
118option('build-lsblk', type : 'feature',
119 description : 'build lsblk')
120option('build-lslocks', type : 'feature',
121 description : 'build lslocks')
122option('build-findmnt', type : 'feature',
123 description : 'build findmnt')
06b27058
JW
124option('build-lsfd', type : 'feature',
125 description : 'build lsfd')
d4c880d5
ZJS
126option('build-switch_root', type : 'feature',
127 description : 'switch_root')
128option('build-pivot_root', type : 'feature',
129 description : 'build pivot_root')
130option('build-lsmem', type : 'feature',
131 description : 'build lsmem')
645577c7
KZ
132option('build-lsirq', type : 'feature',
133 description : 'build lsirq')
134option('build-irqtop', type : 'feature',
135 description : 'build irqtop')
d4c880d5
ZJS
136option('build-chmem', type : 'feature',
137 description : 'build chmem')
0b91fd9f
JW
138option('build-ipcmk', type : 'feature',
139 description : 'build ipcmk')
d4c880d5
ZJS
140option('build-ipcrm', type : 'feature',
141 description : 'build ipcrm')
142option('build-ipcs', type : 'feature',
143 description : 'build ipcs')
144option('build-rfkill', type : 'feature',
145 description : 'build rfkill')
146option('build-tunelp', type : 'feature',
147 description : 'build tunelp')
b6799ccb
JW
148option('build-fstrim', type : 'feature',
149 description : 'build fstrim')
73f3e2ad
JW
150option('build-dmesg', type : 'feature',
151 description : 'build dmesg')
6549a90c
JW
152option('build-fsfreeze', type : 'feature',
153 description : 'build fsfreeze')
9c4ef6f7
JW
154option('build-blkdiscard', type : 'feature',
155 description : 'build blkdiscard')
ca42082d
JW
156option('build-blkzone', type : 'feature',
157 description : 'build blkzone')
cd8fd8a1
JW
158option('build-blkpr', type : 'feature',
159 description : 'build blkpr')
75637b88
JW
160option('build-ldattach', type : 'feature',
161 description : 'build ldattach')
fa907a88
JW
162option('build-rtcwake', type : 'feature',
163 description : 'build rtcwake')
17146fbf
JW
164option('build-setarch', type : 'feature',
165 description : 'build setarch')
d4c880d5
ZJS
166option('build-kill', type : 'feature',
167 description : 'build kill')
168option('build-last', type : 'feature',
169 description : 'build last')
170option('build-utmpdump', type : 'feature',
171 description : 'build utmpdump')
172option('build-line', type : 'feature',
173 description : 'build line')
174option('build-mesg', type : 'feature',
175 description : 'build mesg')
dff176e2 176option('build-raw', type : 'feature', value : 'disabled',
d4c880d5
ZJS
177 description : 'build raw')
178option('build-rename', type : 'feature',
179 description : 'build rename')
180option('build-vipw', type : 'feature',
181 description : 'build vipw')
182option('build-newgrp', type : 'feature',
183 description : 'build newgrp')
184option('build-chfn-chsh', type : 'feature',
185 description : 'build chfn and chsh')
186option('build-login', type : 'feature',
187 description : 'build login')
188option('build-nologin', type : 'feature',
189 description : 'build nologin')
190option('build-sulogin', type : 'feature',
191 description : 'build sulogin')
192option('build-su', type : 'feature',
193 description : 'build su')
194option('build-runuser', type : 'feature',
195 description : 'build runuser')
196option('build-ul', type : 'feature',
197 description : 'build ul')
198option('build-more', type : 'feature',
199 description : 'build more')
200option('build-pg', type : 'feature',
201 description : 'build pg')
c221578e
NS
202option('build-pipesz', type : 'feature',
203 description : 'build pipesz')
3ba934c9
JW
204option('build-fadvise', type : 'feature',
205 description : 'build fadvise')
0f2dd62e
JW
206option('build-enosys', type : 'feature',
207 description : 'build enosys')
5873f36e
JW
208option('build-lsclocks', type : 'feature',
209 description : 'build lsclocks')
d4c880d5
ZJS
210option('build-setterm', type : 'feature',
211 description : 'build setterm')
212option('build-schedutils', type : 'feature',
213 description : 'build chrt, ionice, taskset')
214option('build-wall', type : 'feature',
215 description : 'build wall')
216option('build-write', type : 'feature',
217 description : 'build write')
218option('build-bash-completion', type : 'feature',
219 description : 'install bash completion files')
220option('build-pylibmount', type : 'feature',
221 description : 'build pylibmount')
222
69939195
ZJS
223# static programs
224
225option('static-programs', type : 'array',
226 value : [],
44bf6d80 227 choices : ['losetup', 'mount', 'umount', 'fdisk', 'sfdisk', 'blkid', 'nsenter', 'unshare', 'partx'],
69939195
ZJS
228 description : 'list of programs to also build with static linking')
229
230# feature selection and other configuration
231
ba30b89c 232option('program-tests',
233 type: 'boolean', value : true,
234 description : 'build test programs')
235
d4c880d5
ZJS
236option('chfn-chsh-password',
237 type : 'boolean', value : true,
238 description : 'require the user to enter the password in chfn and chsh')
239option('chsh-only-listed',
240 type : 'boolean', value : true,
241 description : 'chsh: only allow shells in /etc/shells')
242option('use-tty-group',
243 type : 'boolean', value : true,
244 description : 'install wall and write setgid tty')
245option('build-plymouth-support',
246 type : 'feature',
247 description : 'support plymouth feature in sulogin and agetty')
248option('use-tls',
249 type : 'boolean', value : true,
250 description : 'use thread-local storage')
251option('pg-bell',
252 type : 'boolean', value : true,
253 description : 'should pg ring the bell on invalid keys?')
c0ff722e 254option('colors-default', type: 'boolean', value: true,
e0806c40 255 description: 'Enables colorized output from utils by default')
a31f4c4f
TW
256option('allow-32bit-time', type: 'boolean', value: false,
257 description: 'Allow 32bit time_t type')
d4c880d5
ZJS
258
259option('fs-search-path',
260 type : 'string',
261 value : '/sbin:/sbin/fs.d:/sbin/fs',
262 description : 'default search path for fs helpers')
263option('fs-search-path-extra',
264 type : 'string',
265 description : 'additional search path for fs helpers')
308a0979
KZ
266option('vendordir',
267 type: 'string',
268 description : 'directory for distribution provided econf files')
c2e299d0
SS
269
270option('pamlibdir', type : 'string',
271 description : 'directory for PAM modules')
272option('lastlog-compat-symlink', type : 'boolean',
b837ab02 273 value : false,
c2e299d0 274 description : 'create lastlog compat symlink')
e8b6e4ea 275option('login-lastlogin', type : 'boolean',
b837ab02 276 value : false,
e8b6e4ea 277 description : 'program login writes lastlog entries')