]> git.ipfire.org Git - thirdparty/util-linux.git/blame - meson_options.txt
Merge branch 'meson-version-script-libblkid' of https://github.com/jwillikers/util...
[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')
d4c880d5
ZJS
60option('build-losetup', type : 'feature',
61 description : 'build losetup')
62option('build-zramctl', type : 'feature',
63 description : 'build zramctl')
b6799ccb
JW
64option('build-lsns', type : 'feature',
65 description : 'build lsns')
d4c880d5
ZJS
66option('build-fsck', type : 'feature',
67 description : 'build fsck')
68option('build-partx', type : 'feature',
69 description : 'build addpart, delpart, partx')
70
71option('build-uuidd', type : 'feature',
72 description : 'build the uuid daemon')
73
74option('build-wipefs', type : 'feature',
75 description : 'build wipefs')
76option('build-mountpoint', type : 'feature',
77 description : 'build mountpoint')
78option('build-fallocate', type : 'feature',
79 description : 'build fallocate')
80option('build-unshare', type : 'feature',
81 description : 'build unshare')
82option('build-nsenter', type : 'feature',
83 description : 'build nsenter')
84option('build-setpriv', type : 'feature',
85 description : 'build setpriv')
86option('build-hardlink', type : 'feature',
87 description : 'build hardlink')
88option('build-eject', type : 'feature',
89 description : 'build eject')
90option('build-agetty', type : 'feature',
91 description : 'build agetty')
92option('build-cramfs', type : 'feature',
93 description : 'build fsck.cramfs, mkfs.cramfs')
94option('build-bfs', type : 'feature',
95 description : 'build mkfs.bfs')
96option('build-minix', type : 'feature',
97 description : 'build fsck.minix, mkfs.minix')
6e92db54 98option('build-fdformat', type : 'feature', value : 'disabled',
d4c880d5
ZJS
99 description : 'build fdformat')
100option('build-hwclock', type : 'feature',
101 description : 'build hwclock')
102option('build-lslogins', type : 'feature',
103 description : 'build lslogins')
104option('build-wdctl', type : 'feature',
105 description : 'build wdctl')
106option('build-cal', type : 'feature',
107 description : 'build cal')
108option('build-logger', type : 'feature',
109 description : 'build logger')
b6799ccb
JW
110option('build-lsblk', type : 'feature',
111 description : 'build lsblk')
112option('build-lslocks', type : 'feature',
113 description : 'build lslocks')
114option('build-findmnt', type : 'feature',
115 description : 'build findmnt')
06b27058
JW
116option('build-lsfd', type : 'feature',
117 description : 'build lsfd')
d4c880d5
ZJS
118option('build-switch_root', type : 'feature',
119 description : 'switch_root')
120option('build-pivot_root', type : 'feature',
121 description : 'build pivot_root')
122option('build-lsmem', type : 'feature',
123 description : 'build lsmem')
645577c7
KZ
124option('build-lsirq', type : 'feature',
125 description : 'build lsirq')
126option('build-irqtop', type : 'feature',
127 description : 'build irqtop')
d4c880d5
ZJS
128option('build-chmem', type : 'feature',
129 description : 'build chmem')
130option('build-ipcrm', type : 'feature',
131 description : 'build ipcrm')
132option('build-ipcs', type : 'feature',
133 description : 'build ipcs')
134option('build-rfkill', type : 'feature',
135 description : 'build rfkill')
136option('build-tunelp', type : 'feature',
137 description : 'build tunelp')
b6799ccb
JW
138option('build-fstrim', type : 'feature',
139 description : 'build fstrim')
d4c880d5
ZJS
140option('build-kill', type : 'feature',
141 description : 'build kill')
142option('build-last', type : 'feature',
143 description : 'build last')
144option('build-utmpdump', type : 'feature',
145 description : 'build utmpdump')
146option('build-line', type : 'feature',
147 description : 'build line')
148option('build-mesg', type : 'feature',
149 description : 'build mesg')
dff176e2 150option('build-raw', type : 'feature', value : 'disabled',
d4c880d5
ZJS
151 description : 'build raw')
152option('build-rename', type : 'feature',
153 description : 'build rename')
154option('build-vipw', type : 'feature',
155 description : 'build vipw')
156option('build-newgrp', type : 'feature',
157 description : 'build newgrp')
158option('build-chfn-chsh', type : 'feature',
159 description : 'build chfn and chsh')
160option('build-login', type : 'feature',
161 description : 'build login')
162option('build-nologin', type : 'feature',
163 description : 'build nologin')
164option('build-sulogin', type : 'feature',
165 description : 'build sulogin')
166option('build-su', type : 'feature',
167 description : 'build su')
168option('build-runuser', type : 'feature',
169 description : 'build runuser')
170option('build-ul', type : 'feature',
171 description : 'build ul')
172option('build-more', type : 'feature',
173 description : 'build more')
174option('build-pg', type : 'feature',
175 description : 'build pg')
c221578e
NS
176option('build-pipesz', type : 'feature',
177 description : 'build pipesz')
d4c880d5
ZJS
178option('build-setterm', type : 'feature',
179 description : 'build setterm')
180option('build-schedutils', type : 'feature',
181 description : 'build chrt, ionice, taskset')
182option('build-wall', type : 'feature',
183 description : 'build wall')
184option('build-write', type : 'feature',
185 description : 'build write')
186option('build-bash-completion', type : 'feature',
187 description : 'install bash completion files')
188option('build-pylibmount', type : 'feature',
189 description : 'build pylibmount')
190
69939195
ZJS
191# static programs
192
193option('static-programs', type : 'array',
194 value : [],
44bf6d80 195 choices : ['losetup', 'mount', 'umount', 'fdisk', 'sfdisk', 'blkid', 'nsenter', 'unshare', 'partx'],
69939195
ZJS
196 description : 'list of programs to also build with static linking')
197
198# feature selection and other configuration
199
ba30b89c 200option('program-tests',
201 type: 'boolean', value : true,
202 description : 'build test programs')
203
d4c880d5
ZJS
204option('chfn-chsh-password',
205 type : 'boolean', value : true,
206 description : 'require the user to enter the password in chfn and chsh')
207option('chsh-only-listed',
208 type : 'boolean', value : true,
209 description : 'chsh: only allow shells in /etc/shells')
210option('use-tty-group',
211 type : 'boolean', value : true,
212 description : 'install wall and write setgid tty')
213option('build-plymouth-support',
214 type : 'feature',
215 description : 'support plymouth feature in sulogin and agetty')
216option('use-tls',
217 type : 'boolean', value : true,
218 description : 'use thread-local storage')
219option('pg-bell',
220 type : 'boolean', value : true,
221 description : 'should pg ring the bell on invalid keys?')
c0ff722e 222option('colors-default', type: 'boolean', value: true,
e0806c40 223 description: 'Enables colorized output from utils by default')
a31f4c4f
TW
224option('allow-32bit-time', type: 'boolean', value: false,
225 description: 'Allow 32bit time_t type')
d4c880d5
ZJS
226
227option('fs-search-path',
228 type : 'string',
229 value : '/sbin:/sbin/fs.d:/sbin/fs',
230 description : 'default search path for fs helpers')
231option('fs-search-path-extra',
232 type : 'string',
233 description : 'additional search path for fs helpers')
308a0979
KZ
234option('vendordir',
235 type: 'string',
236 description : 'directory for distribution provided econf files')
c2e299d0
SS
237
238option('pamlibdir', type : 'string',
239 description : 'directory for PAM modules')
240option('lastlog-compat-symlink', type : 'boolean',
b837ab02 241 value : false,
c2e299d0 242 description : 'create lastlog compat symlink')
e8b6e4ea 243option('login-lastlogin', type : 'boolean',
b837ab02 244 value : false,
e8b6e4ea 245 description : 'program login writes lastlog entries')