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