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