target/sparc: Implement XMULX
[qemu/kevin.git] / scripts / meson-buildoptions.sh
blob6ce5a8b72aa177f036bebda99bc081667c56917a
1 # This file is generated by meson-buildoptions.py, do not edit!
2 meson_options_help() {
3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co'
4 printf "%s\n" ' reaudio/default/dsound/jack/oss/pa/pipewire/sdl/s'
5 printf "%s\n" ' ndio)'
6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]'
7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE'
8 printf "%s\n" ' set block driver read-only whitelist (by default'
9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE'
11 printf "%s\n" ' set block driver read-write whitelist (by default'
12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
13 printf "%s\n" ' --datadir=VALUE Data file directory [share]'
14 printf "%s\n" ' --disable-coroutine-pool coroutine freelist (better performance)'
15 printf "%s\n" ' --disable-debug-info Enable debug symbols and other information'
16 printf "%s\n" ' --disable-hexagon-idef-parser'
17 printf "%s\n" ' use idef-parser to automatically generate TCG'
18 printf "%s\n" ' code for the Hexagon frontend'
19 printf "%s\n" ' --disable-install-blobs install provided firmware blobs'
20 printf "%s\n" ' --disable-qom-cast-debug cast debugging support'
21 printf "%s\n" ' --disable-relocatable toggle relocatable install'
22 printf "%s\n" ' --docdir=VALUE Base directory for documentation installation'
23 printf "%s\n" ' (can be empty) [share/doc]'
24 printf "%s\n" ' --enable-block-drv-whitelist-in-tools'
25 printf "%s\n" ' use block whitelist also in tools instead of only'
26 printf "%s\n" ' QEMU'
27 printf "%s\n" ' --enable-cfi Control-Flow Integrity (CFI)'
28 printf "%s\n" ' --enable-cfi-debug Verbose errors in case of CFI violation'
29 printf "%s\n" ' --enable-debug-graph-lock'
30 printf "%s\n" ' graph lock debugging support'
31 printf "%s\n" ' --enable-debug-mutex mutex debugging support'
32 printf "%s\n" ' --enable-debug-remap syscall buffer debugging support'
33 printf "%s\n" ' --enable-debug-stack-usage'
34 printf "%s\n" ' measure coroutine stack usage'
35 printf "%s\n" ' --enable-debug-tcg TCG debugging'
36 printf "%s\n" ' --enable-fdt[=CHOICE] Whether and how to find the libfdt library'
37 printf "%s\n" ' (choices: auto/disabled/enabled/internal/system)'
38 printf "%s\n" ' --enable-fuzzing build fuzzing targets'
39 printf "%s\n" ' --enable-gcov Enable coverage tracking.'
40 printf "%s\n" ' --enable-lto Use link time optimization'
41 printf "%s\n" ' --enable-malloc=CHOICE choose memory allocator to use [system] (choices:'
42 printf "%s\n" ' jemalloc/system/tcmalloc)'
43 printf "%s\n" ' --enable-module-upgrades try to load modules from alternate paths for'
44 printf "%s\n" ' upgrades'
45 printf "%s\n" ' --enable-rng-none dummy RNG, avoid using /dev/(u)random and'
46 printf "%s\n" ' getrandom()'
47 printf "%s\n" ' --enable-safe-stack SafeStack Stack Smash Protection (requires'
48 printf "%s\n" ' clang/llvm and coroutine backend ucontext)'
49 printf "%s\n" ' --enable-sanitizers enable default sanitizers'
50 printf "%s\n" ' --enable-strip Strip targets on install'
51 printf "%s\n" ' --enable-tcg-interpreter TCG with bytecode interpreter (slow)'
52 printf "%s\n" ' --enable-trace-backends=CHOICES'
53 printf "%s\n" ' Set available tracing backends [log] (choices:'
54 printf "%s\n" ' dtrace/ftrace/log/nop/simple/syslog/ust)'
55 printf "%s\n" ' --enable-tsan enable thread sanitizer'
56 printf "%s\n" ' --firmwarepath=VALUES search PATH for firmware files [share/qemu-'
57 printf "%s\n" ' firmware]'
58 printf "%s\n" ' --iasl=VALUE Path to ACPI disassembler'
59 printf "%s\n" ' --includedir=VALUE Header file directory [include]'
60 printf "%s\n" ' --interp-prefix=VALUE where to find shared libraries etc., use %M for'
61 printf "%s\n" ' cpu name [/usr/gnemul/qemu-%M]'
62 printf "%s\n" ' --libdir=VALUE Library directory [system default]'
63 printf "%s\n" ' --libexecdir=VALUE Library executable directory [libexec]'
64 printf "%s\n" ' --localedir=VALUE Locale data directory [share/locale]'
65 printf "%s\n" ' --localstatedir=VALUE Localstate data directory [/var/local]'
66 printf "%s\n" ' --mandir=VALUE Manual page directory [share/man]'
67 printf "%s\n" ' --prefix=VALUE Installation prefix [/usr/local]'
68 printf "%s\n" ' --qemu-ga-distro=VALUE second path element in qemu-ga registry entries'
69 printf "%s\n" ' [Linux]'
70 printf "%s\n" ' --qemu-ga-manufacturer=VALUE'
71 printf "%s\n" ' "manufacturer" name for qemu-ga registry entries'
72 printf "%s\n" ' [QEMU]'
73 printf "%s\n" ' --qemu-ga-version=VALUE version number for qemu-ga installer'
74 printf "%s\n" ' --smbd=VALUE Path to smbd for slirp networking'
75 printf "%s\n" ' --sysconfdir=VALUE Sysconf data directory [etc]'
76 printf "%s\n" ' --tls-priority=VALUE Default TLS protocol/cipher priority string'
77 printf "%s\n" ' [NORMAL]'
78 printf "%s\n" ' --with-coroutine=CHOICE coroutine backend to use (choices:'
79 printf "%s\n" ' auto/sigaltstack/ucontext/windows)'
80 printf "%s\n" ' --with-pkgversion=VALUE use specified string as sub-version of the'
81 printf "%s\n" ' package'
82 printf "%s\n" ' --with-suffix=VALUE Suffix for QEMU data/modules/config directories'
83 printf "%s\n" ' (can be empty) [qemu]'
84 printf "%s\n" ' --with-trace-file=VALUE Trace file prefix for simple backend [trace]'
85 printf "%s\n" ''
86 printf "%s\n" 'Optional features, enabled with --enable-FEATURE and'
87 printf "%s\n" 'disabled with --disable-FEATURE, default is enabled if available'
88 printf "%s\n" '(unless built with --without-default-features):'
89 printf "%s\n" ''
90 printf "%s\n" ' af-xdp AF_XDP network backend support'
91 printf "%s\n" ' alsa ALSA sound support'
92 printf "%s\n" ' attr attr/xattr support'
93 printf "%s\n" ' auth-pam PAM access control'
94 printf "%s\n" ' avx2 AVX2 optimizations'
95 printf "%s\n" ' avx512bw AVX512BW optimizations'
96 printf "%s\n" ' avx512f AVX512F optimizations'
97 printf "%s\n" ' blkio libblkio block device driver'
98 printf "%s\n" ' bochs bochs image format support'
99 printf "%s\n" ' bpf eBPF support'
100 printf "%s\n" ' brlapi brlapi character device driver'
101 printf "%s\n" ' bzip2 bzip2 support for DMG images'
102 printf "%s\n" ' canokey CanoKey support'
103 printf "%s\n" ' cap-ng cap_ng support'
104 printf "%s\n" ' capstone Whether and how to find the capstone library'
105 printf "%s\n" ' cloop cloop image format support'
106 printf "%s\n" ' cocoa Cocoa user interface (macOS only)'
107 printf "%s\n" ' colo-proxy colo-proxy support'
108 printf "%s\n" ' coreaudio CoreAudio sound support'
109 printf "%s\n" ' crypto-afalg Linux AF_ALG crypto backend driver'
110 printf "%s\n" ' curl CURL block device driver'
111 printf "%s\n" ' curses curses UI'
112 printf "%s\n" ' dbus-display -display dbus support'
113 printf "%s\n" ' dmg dmg image format support'
114 printf "%s\n" ' docs Documentations build support'
115 printf "%s\n" ' dsound DirectSound sound support'
116 printf "%s\n" ' fuse FUSE block device export'
117 printf "%s\n" ' fuse-lseek SEEK_HOLE/SEEK_DATA support for FUSE exports'
118 printf "%s\n" ' gcrypt libgcrypt cryptography support'
119 printf "%s\n" ' gettext Localization of the GTK+ user interface'
120 printf "%s\n" ' gio use libgio for D-Bus support'
121 printf "%s\n" ' glusterfs Glusterfs block device driver'
122 printf "%s\n" ' gnutls GNUTLS cryptography support'
123 printf "%s\n" ' gtk GTK+ user interface'
124 printf "%s\n" ' gtk-clipboard clipboard support for the gtk UI (EXPERIMENTAL, MAY HANG)'
125 printf "%s\n" ' guest-agent Build QEMU Guest Agent'
126 printf "%s\n" ' guest-agent-msi Build MSI package for the QEMU Guest Agent'
127 printf "%s\n" ' hv-balloon hv-balloon driver (requires Glib 2.68+ GTree API)'
128 printf "%s\n" ' hvf HVF acceleration support'
129 printf "%s\n" ' iconv Font glyph conversion support'
130 printf "%s\n" ' jack JACK sound support'
131 printf "%s\n" ' keyring Linux keyring support'
132 printf "%s\n" ' kvm KVM acceleration support'
133 printf "%s\n" ' l2tpv3 l2tpv3 network backend support'
134 printf "%s\n" ' libdaxctl libdaxctl support'
135 printf "%s\n" ' libdw debuginfo support'
136 printf "%s\n" ' libiscsi libiscsi userspace initiator'
137 printf "%s\n" ' libkeyutils Linux keyutils support'
138 printf "%s\n" ' libnfs libnfs block device driver'
139 printf "%s\n" ' libpmem libpmem support'
140 printf "%s\n" ' libssh ssh block device support'
141 printf "%s\n" ' libudev Use libudev to enumerate host devices'
142 printf "%s\n" ' libusb libusb support for USB passthrough'
143 printf "%s\n" ' libvduse build VDUSE Library'
144 printf "%s\n" ' linux-aio Linux AIO support'
145 printf "%s\n" ' linux-io-uring Linux io_uring support'
146 printf "%s\n" ' lzfse lzfse support for DMG images'
147 printf "%s\n" ' lzo lzo compression support'
148 printf "%s\n" ' malloc-trim enable libc malloc_trim() for memory optimization'
149 printf "%s\n" ' membarrier membarrier system call (for Linux 4.14+ or Windows'
150 printf "%s\n" ' modules modules support (non Windows)'
151 printf "%s\n" ' mpath Multipath persistent reservation passthrough'
152 printf "%s\n" ' multiprocess Out of process device emulation support'
153 printf "%s\n" ' netmap netmap network backend support'
154 printf "%s\n" ' nettle nettle cryptography support'
155 printf "%s\n" ' numa libnuma support'
156 printf "%s\n" ' nvmm NVMM acceleration support'
157 printf "%s\n" ' opengl OpenGL support'
158 printf "%s\n" ' oss OSS sound support'
159 printf "%s\n" ' pa PulseAudio sound support'
160 printf "%s\n" ' parallels parallels image format support'
161 printf "%s\n" ' pipewire PipeWire sound support'
162 printf "%s\n" ' pixman pixman support'
163 printf "%s\n" ' plugins TCG plugins via shared library loading'
164 printf "%s\n" ' png PNG support with libpng'
165 printf "%s\n" ' qcow1 qcow1 image format support'
166 printf "%s\n" ' qed qed image format support'
167 printf "%s\n" ' qga-vss build QGA VSS support (broken with MinGW)'
168 printf "%s\n" ' rbd Ceph block device driver'
169 printf "%s\n" ' rdma Enable RDMA-based migration'
170 printf "%s\n" ' replication replication support'
171 printf "%s\n" ' rutabaga-gfx rutabaga_gfx support'
172 printf "%s\n" ' sdl SDL user interface'
173 printf "%s\n" ' sdl-image SDL Image support for icons'
174 printf "%s\n" ' seccomp seccomp support'
175 printf "%s\n" ' selinux SELinux support in qemu-nbd'
176 printf "%s\n" ' slirp libslirp user mode network backend support'
177 printf "%s\n" ' slirp-smbd use smbd (at path --smbd=*) in slirp networking'
178 printf "%s\n" ' smartcard CA smartcard emulation support'
179 printf "%s\n" ' snappy snappy compression support'
180 printf "%s\n" ' sndio sndio sound support'
181 printf "%s\n" ' sparse sparse checker'
182 printf "%s\n" ' spice Spice server support'
183 printf "%s\n" ' spice-protocol Spice protocol support'
184 printf "%s\n" ' stack-protector compiler-provided stack protection'
185 printf "%s\n" ' tcg TCG support'
186 printf "%s\n" ' tools build support utilities that come with QEMU'
187 printf "%s\n" ' tpm TPM support'
188 printf "%s\n" ' u2f U2F emulation support'
189 printf "%s\n" ' usb-redir libusbredir support'
190 printf "%s\n" ' vde vde network backend support'
191 printf "%s\n" ' vdi vdi image format support'
192 printf "%s\n" ' vduse-blk-export'
193 printf "%s\n" ' VDUSE block export support'
194 printf "%s\n" ' vfio-user-server'
195 printf "%s\n" ' vfio-user server support'
196 printf "%s\n" ' vhdx vhdx image format support'
197 printf "%s\n" ' vhost-crypto vhost-user crypto backend support'
198 printf "%s\n" ' vhost-kernel vhost kernel backend support'
199 printf "%s\n" ' vhost-net vhost-net kernel acceleration support'
200 printf "%s\n" ' vhost-user vhost-user backend support'
201 printf "%s\n" ' vhost-user-blk-server'
202 printf "%s\n" ' build vhost-user-blk server'
203 printf "%s\n" ' vhost-vdpa vhost-vdpa kernel backend support'
204 printf "%s\n" ' virglrenderer virgl rendering support'
205 printf "%s\n" ' virtfs virtio-9p support'
206 printf "%s\n" ' virtfs-proxy-helper'
207 printf "%s\n" ' virtio-9p proxy helper support'
208 printf "%s\n" ' vmdk vmdk image format support'
209 printf "%s\n" ' vmnet vmnet.framework network backend support'
210 printf "%s\n" ' vnc VNC server'
211 printf "%s\n" ' vnc-jpeg JPEG lossy compression for VNC server'
212 printf "%s\n" ' vnc-sasl SASL authentication for VNC server'
213 printf "%s\n" ' vpc vpc image format support'
214 printf "%s\n" ' vte vte support for the gtk UI'
215 printf "%s\n" ' vvfat vvfat image format support'
216 printf "%s\n" ' werror Treat warnings as errors'
217 printf "%s\n" ' whpx WHPX acceleration support'
218 printf "%s\n" ' xen Xen backend support'
219 printf "%s\n" ' xen-pci-passthrough'
220 printf "%s\n" ' Xen PCI passthrough support'
221 printf "%s\n" ' xkbcommon xkbcommon support'
222 printf "%s\n" ' zstd zstd compression support'
224 _meson_option_parse() {
225 case $1 in
226 --enable-af-xdp) printf "%s" -Daf_xdp=enabled ;;
227 --disable-af-xdp) printf "%s" -Daf_xdp=disabled ;;
228 --enable-alsa) printf "%s" -Dalsa=enabled ;;
229 --disable-alsa) printf "%s" -Dalsa=disabled ;;
230 --enable-attr) printf "%s" -Dattr=enabled ;;
231 --disable-attr) printf "%s" -Dattr=disabled ;;
232 --audio-drv-list=*) quote_sh "-Daudio_drv_list=$2" ;;
233 --enable-auth-pam) printf "%s" -Dauth_pam=enabled ;;
234 --disable-auth-pam) printf "%s" -Dauth_pam=disabled ;;
235 --enable-avx2) printf "%s" -Davx2=enabled ;;
236 --disable-avx2) printf "%s" -Davx2=disabled ;;
237 --enable-avx512bw) printf "%s" -Davx512bw=enabled ;;
238 --disable-avx512bw) printf "%s" -Davx512bw=disabled ;;
239 --enable-avx512f) printf "%s" -Davx512f=enabled ;;
240 --disable-avx512f) printf "%s" -Davx512f=disabled ;;
241 --enable-gcov) printf "%s" -Db_coverage=true ;;
242 --disable-gcov) printf "%s" -Db_coverage=false ;;
243 --enable-lto) printf "%s" -Db_lto=true ;;
244 --disable-lto) printf "%s" -Db_lto=false ;;
245 --bindir=*) quote_sh "-Dbindir=$2" ;;
246 --enable-blkio) printf "%s" -Dblkio=enabled ;;
247 --disable-blkio) printf "%s" -Dblkio=disabled ;;
248 --block-drv-ro-whitelist=*) quote_sh "-Dblock_drv_ro_whitelist=$2" ;;
249 --block-drv-rw-whitelist=*) quote_sh "-Dblock_drv_rw_whitelist=$2" ;;
250 --enable-block-drv-whitelist-in-tools) printf "%s" -Dblock_drv_whitelist_in_tools=true ;;
251 --disable-block-drv-whitelist-in-tools) printf "%s" -Dblock_drv_whitelist_in_tools=false ;;
252 --enable-bochs) printf "%s" -Dbochs=enabled ;;
253 --disable-bochs) printf "%s" -Dbochs=disabled ;;
254 --enable-bpf) printf "%s" -Dbpf=enabled ;;
255 --disable-bpf) printf "%s" -Dbpf=disabled ;;
256 --enable-brlapi) printf "%s" -Dbrlapi=enabled ;;
257 --disable-brlapi) printf "%s" -Dbrlapi=disabled ;;
258 --enable-bzip2) printf "%s" -Dbzip2=enabled ;;
259 --disable-bzip2) printf "%s" -Dbzip2=disabled ;;
260 --enable-canokey) printf "%s" -Dcanokey=enabled ;;
261 --disable-canokey) printf "%s" -Dcanokey=disabled ;;
262 --enable-cap-ng) printf "%s" -Dcap_ng=enabled ;;
263 --disable-cap-ng) printf "%s" -Dcap_ng=disabled ;;
264 --enable-capstone) printf "%s" -Dcapstone=enabled ;;
265 --disable-capstone) printf "%s" -Dcapstone=disabled ;;
266 --enable-cfi) printf "%s" -Dcfi=true ;;
267 --disable-cfi) printf "%s" -Dcfi=false ;;
268 --enable-cfi-debug) printf "%s" -Dcfi_debug=true ;;
269 --disable-cfi-debug) printf "%s" -Dcfi_debug=false ;;
270 --enable-cloop) printf "%s" -Dcloop=enabled ;;
271 --disable-cloop) printf "%s" -Dcloop=disabled ;;
272 --enable-cocoa) printf "%s" -Dcocoa=enabled ;;
273 --disable-cocoa) printf "%s" -Dcocoa=disabled ;;
274 --enable-colo-proxy) printf "%s" -Dcolo_proxy=enabled ;;
275 --disable-colo-proxy) printf "%s" -Dcolo_proxy=disabled ;;
276 --enable-coreaudio) printf "%s" -Dcoreaudio=enabled ;;
277 --disable-coreaudio) printf "%s" -Dcoreaudio=disabled ;;
278 --with-coroutine=*) quote_sh "-Dcoroutine_backend=$2" ;;
279 --enable-coroutine-pool) printf "%s" -Dcoroutine_pool=true ;;
280 --disable-coroutine-pool) printf "%s" -Dcoroutine_pool=false ;;
281 --enable-crypto-afalg) printf "%s" -Dcrypto_afalg=enabled ;;
282 --disable-crypto-afalg) printf "%s" -Dcrypto_afalg=disabled ;;
283 --enable-curl) printf "%s" -Dcurl=enabled ;;
284 --disable-curl) printf "%s" -Dcurl=disabled ;;
285 --enable-curses) printf "%s" -Dcurses=enabled ;;
286 --disable-curses) printf "%s" -Dcurses=disabled ;;
287 --datadir=*) quote_sh "-Ddatadir=$2" ;;
288 --enable-dbus-display) printf "%s" -Ddbus_display=enabled ;;
289 --disable-dbus-display) printf "%s" -Ddbus_display=disabled ;;
290 --enable-debug-info) printf "%s" -Ddebug=true ;;
291 --disable-debug-info) printf "%s" -Ddebug=false ;;
292 --enable-debug-graph-lock) printf "%s" -Ddebug_graph_lock=true ;;
293 --disable-debug-graph-lock) printf "%s" -Ddebug_graph_lock=false ;;
294 --enable-debug-mutex) printf "%s" -Ddebug_mutex=true ;;
295 --disable-debug-mutex) printf "%s" -Ddebug_mutex=false ;;
296 --enable-debug-remap) printf "%s" -Ddebug_remap=true ;;
297 --disable-debug-remap) printf "%s" -Ddebug_remap=false ;;
298 --enable-debug-stack-usage) printf "%s" -Ddebug_stack_usage=true ;;
299 --disable-debug-stack-usage) printf "%s" -Ddebug_stack_usage=false ;;
300 --enable-debug-tcg) printf "%s" -Ddebug_tcg=true ;;
301 --disable-debug-tcg) printf "%s" -Ddebug_tcg=false ;;
302 --enable-dmg) printf "%s" -Ddmg=enabled ;;
303 --disable-dmg) printf "%s" -Ddmg=disabled ;;
304 --docdir=*) quote_sh "-Ddocdir=$2" ;;
305 --enable-docs) printf "%s" -Ddocs=enabled ;;
306 --disable-docs) printf "%s" -Ddocs=disabled ;;
307 --enable-dsound) printf "%s" -Ddsound=enabled ;;
308 --disable-dsound) printf "%s" -Ddsound=disabled ;;
309 --enable-fdt) printf "%s" -Dfdt=enabled ;;
310 --disable-fdt) printf "%s" -Dfdt=disabled ;;
311 --enable-fdt=*) quote_sh "-Dfdt=$2" ;;
312 --enable-fuse) printf "%s" -Dfuse=enabled ;;
313 --disable-fuse) printf "%s" -Dfuse=disabled ;;
314 --enable-fuse-lseek) printf "%s" -Dfuse_lseek=enabled ;;
315 --disable-fuse-lseek) printf "%s" -Dfuse_lseek=disabled ;;
316 --enable-fuzzing) printf "%s" -Dfuzzing=true ;;
317 --disable-fuzzing) printf "%s" -Dfuzzing=false ;;
318 --enable-gcrypt) printf "%s" -Dgcrypt=enabled ;;
319 --disable-gcrypt) printf "%s" -Dgcrypt=disabled ;;
320 --enable-gettext) printf "%s" -Dgettext=enabled ;;
321 --disable-gettext) printf "%s" -Dgettext=disabled ;;
322 --enable-gio) printf "%s" -Dgio=enabled ;;
323 --disable-gio) printf "%s" -Dgio=disabled ;;
324 --enable-glusterfs) printf "%s" -Dglusterfs=enabled ;;
325 --disable-glusterfs) printf "%s" -Dglusterfs=disabled ;;
326 --enable-gnutls) printf "%s" -Dgnutls=enabled ;;
327 --disable-gnutls) printf "%s" -Dgnutls=disabled ;;
328 --enable-gtk) printf "%s" -Dgtk=enabled ;;
329 --disable-gtk) printf "%s" -Dgtk=disabled ;;
330 --enable-gtk-clipboard) printf "%s" -Dgtk_clipboard=enabled ;;
331 --disable-gtk-clipboard) printf "%s" -Dgtk_clipboard=disabled ;;
332 --enable-guest-agent) printf "%s" -Dguest_agent=enabled ;;
333 --disable-guest-agent) printf "%s" -Dguest_agent=disabled ;;
334 --enable-guest-agent-msi) printf "%s" -Dguest_agent_msi=enabled ;;
335 --disable-guest-agent-msi) printf "%s" -Dguest_agent_msi=disabled ;;
336 --enable-hexagon-idef-parser) printf "%s" -Dhexagon_idef_parser=true ;;
337 --disable-hexagon-idef-parser) printf "%s" -Dhexagon_idef_parser=false ;;
338 --enable-hv-balloon) printf "%s" -Dhv_balloon=enabled ;;
339 --disable-hv-balloon) printf "%s" -Dhv_balloon=disabled ;;
340 --enable-hvf) printf "%s" -Dhvf=enabled ;;
341 --disable-hvf) printf "%s" -Dhvf=disabled ;;
342 --iasl=*) quote_sh "-Diasl=$2" ;;
343 --enable-iconv) printf "%s" -Diconv=enabled ;;
344 --disable-iconv) printf "%s" -Diconv=disabled ;;
345 --includedir=*) quote_sh "-Dincludedir=$2" ;;
346 --enable-install-blobs) printf "%s" -Dinstall_blobs=true ;;
347 --disable-install-blobs) printf "%s" -Dinstall_blobs=false ;;
348 --interp-prefix=*) quote_sh "-Dinterp_prefix=$2" ;;
349 --enable-jack) printf "%s" -Djack=enabled ;;
350 --disable-jack) printf "%s" -Djack=disabled ;;
351 --enable-keyring) printf "%s" -Dkeyring=enabled ;;
352 --disable-keyring) printf "%s" -Dkeyring=disabled ;;
353 --enable-kvm) printf "%s" -Dkvm=enabled ;;
354 --disable-kvm) printf "%s" -Dkvm=disabled ;;
355 --enable-l2tpv3) printf "%s" -Dl2tpv3=enabled ;;
356 --disable-l2tpv3) printf "%s" -Dl2tpv3=disabled ;;
357 --enable-libdaxctl) printf "%s" -Dlibdaxctl=enabled ;;
358 --disable-libdaxctl) printf "%s" -Dlibdaxctl=disabled ;;
359 --libdir=*) quote_sh "-Dlibdir=$2" ;;
360 --enable-libdw) printf "%s" -Dlibdw=enabled ;;
361 --disable-libdw) printf "%s" -Dlibdw=disabled ;;
362 --libexecdir=*) quote_sh "-Dlibexecdir=$2" ;;
363 --enable-libiscsi) printf "%s" -Dlibiscsi=enabled ;;
364 --disable-libiscsi) printf "%s" -Dlibiscsi=disabled ;;
365 --enable-libkeyutils) printf "%s" -Dlibkeyutils=enabled ;;
366 --disable-libkeyutils) printf "%s" -Dlibkeyutils=disabled ;;
367 --enable-libnfs) printf "%s" -Dlibnfs=enabled ;;
368 --disable-libnfs) printf "%s" -Dlibnfs=disabled ;;
369 --enable-libpmem) printf "%s" -Dlibpmem=enabled ;;
370 --disable-libpmem) printf "%s" -Dlibpmem=disabled ;;
371 --enable-libssh) printf "%s" -Dlibssh=enabled ;;
372 --disable-libssh) printf "%s" -Dlibssh=disabled ;;
373 --enable-libudev) printf "%s" -Dlibudev=enabled ;;
374 --disable-libudev) printf "%s" -Dlibudev=disabled ;;
375 --enable-libusb) printf "%s" -Dlibusb=enabled ;;
376 --disable-libusb) printf "%s" -Dlibusb=disabled ;;
377 --enable-libvduse) printf "%s" -Dlibvduse=enabled ;;
378 --disable-libvduse) printf "%s" -Dlibvduse=disabled ;;
379 --enable-linux-aio) printf "%s" -Dlinux_aio=enabled ;;
380 --disable-linux-aio) printf "%s" -Dlinux_aio=disabled ;;
381 --enable-linux-io-uring) printf "%s" -Dlinux_io_uring=enabled ;;
382 --disable-linux-io-uring) printf "%s" -Dlinux_io_uring=disabled ;;
383 --localedir=*) quote_sh "-Dlocaledir=$2" ;;
384 --localstatedir=*) quote_sh "-Dlocalstatedir=$2" ;;
385 --enable-lzfse) printf "%s" -Dlzfse=enabled ;;
386 --disable-lzfse) printf "%s" -Dlzfse=disabled ;;
387 --enable-lzo) printf "%s" -Dlzo=enabled ;;
388 --disable-lzo) printf "%s" -Dlzo=disabled ;;
389 --enable-malloc=*) quote_sh "-Dmalloc=$2" ;;
390 --enable-malloc-trim) printf "%s" -Dmalloc_trim=enabled ;;
391 --disable-malloc-trim) printf "%s" -Dmalloc_trim=disabled ;;
392 --mandir=*) quote_sh "-Dmandir=$2" ;;
393 --enable-membarrier) printf "%s" -Dmembarrier=enabled ;;
394 --disable-membarrier) printf "%s" -Dmembarrier=disabled ;;
395 --enable-module-upgrades) printf "%s" -Dmodule_upgrades=true ;;
396 --disable-module-upgrades) printf "%s" -Dmodule_upgrades=false ;;
397 --enable-modules) printf "%s" -Dmodules=enabled ;;
398 --disable-modules) printf "%s" -Dmodules=disabled ;;
399 --enable-mpath) printf "%s" -Dmpath=enabled ;;
400 --disable-mpath) printf "%s" -Dmpath=disabled ;;
401 --enable-multiprocess) printf "%s" -Dmultiprocess=enabled ;;
402 --disable-multiprocess) printf "%s" -Dmultiprocess=disabled ;;
403 --enable-netmap) printf "%s" -Dnetmap=enabled ;;
404 --disable-netmap) printf "%s" -Dnetmap=disabled ;;
405 --enable-nettle) printf "%s" -Dnettle=enabled ;;
406 --disable-nettle) printf "%s" -Dnettle=disabled ;;
407 --enable-numa) printf "%s" -Dnuma=enabled ;;
408 --disable-numa) printf "%s" -Dnuma=disabled ;;
409 --enable-nvmm) printf "%s" -Dnvmm=enabled ;;
410 --disable-nvmm) printf "%s" -Dnvmm=disabled ;;
411 --enable-opengl) printf "%s" -Dopengl=enabled ;;
412 --disable-opengl) printf "%s" -Dopengl=disabled ;;
413 --enable-oss) printf "%s" -Doss=enabled ;;
414 --disable-oss) printf "%s" -Doss=disabled ;;
415 --enable-pa) printf "%s" -Dpa=enabled ;;
416 --disable-pa) printf "%s" -Dpa=disabled ;;
417 --enable-parallels) printf "%s" -Dparallels=enabled ;;
418 --disable-parallels) printf "%s" -Dparallels=disabled ;;
419 --enable-pipewire) printf "%s" -Dpipewire=enabled ;;
420 --disable-pipewire) printf "%s" -Dpipewire=disabled ;;
421 --enable-pixman) printf "%s" -Dpixman=enabled ;;
422 --disable-pixman) printf "%s" -Dpixman=disabled ;;
423 --with-pkgversion=*) quote_sh "-Dpkgversion=$2" ;;
424 --enable-plugins) printf "%s" -Dplugins=true ;;
425 --disable-plugins) printf "%s" -Dplugins=false ;;
426 --enable-png) printf "%s" -Dpng=enabled ;;
427 --disable-png) printf "%s" -Dpng=disabled ;;
428 --prefix=*) quote_sh "-Dprefix=$2" ;;
429 --enable-qcow1) printf "%s" -Dqcow1=enabled ;;
430 --disable-qcow1) printf "%s" -Dqcow1=disabled ;;
431 --enable-qed) printf "%s" -Dqed=enabled ;;
432 --disable-qed) printf "%s" -Dqed=disabled ;;
433 --firmwarepath=*) quote_sh "-Dqemu_firmwarepath=$(meson_option_build_array $2)" ;;
434 --qemu-ga-distro=*) quote_sh "-Dqemu_ga_distro=$2" ;;
435 --qemu-ga-manufacturer=*) quote_sh "-Dqemu_ga_manufacturer=$2" ;;
436 --qemu-ga-version=*) quote_sh "-Dqemu_ga_version=$2" ;;
437 --with-suffix=*) quote_sh "-Dqemu_suffix=$2" ;;
438 --enable-qga-vss) printf "%s" -Dqga_vss=enabled ;;
439 --disable-qga-vss) printf "%s" -Dqga_vss=disabled ;;
440 --enable-qom-cast-debug) printf "%s" -Dqom_cast_debug=true ;;
441 --disable-qom-cast-debug) printf "%s" -Dqom_cast_debug=false ;;
442 --enable-rbd) printf "%s" -Drbd=enabled ;;
443 --disable-rbd) printf "%s" -Drbd=disabled ;;
444 --enable-rdma) printf "%s" -Drdma=enabled ;;
445 --disable-rdma) printf "%s" -Drdma=disabled ;;
446 --enable-relocatable) printf "%s" -Drelocatable=true ;;
447 --disable-relocatable) printf "%s" -Drelocatable=false ;;
448 --enable-replication) printf "%s" -Dreplication=enabled ;;
449 --disable-replication) printf "%s" -Dreplication=disabled ;;
450 --enable-rng-none) printf "%s" -Drng_none=true ;;
451 --disable-rng-none) printf "%s" -Drng_none=false ;;
452 --enable-rutabaga-gfx) printf "%s" -Drutabaga_gfx=enabled ;;
453 --disable-rutabaga-gfx) printf "%s" -Drutabaga_gfx=disabled ;;
454 --enable-safe-stack) printf "%s" -Dsafe_stack=true ;;
455 --disable-safe-stack) printf "%s" -Dsafe_stack=false ;;
456 --enable-sanitizers) printf "%s" -Dsanitizers=true ;;
457 --disable-sanitizers) printf "%s" -Dsanitizers=false ;;
458 --enable-sdl) printf "%s" -Dsdl=enabled ;;
459 --disable-sdl) printf "%s" -Dsdl=disabled ;;
460 --enable-sdl-image) printf "%s" -Dsdl_image=enabled ;;
461 --disable-sdl-image) printf "%s" -Dsdl_image=disabled ;;
462 --enable-seccomp) printf "%s" -Dseccomp=enabled ;;
463 --disable-seccomp) printf "%s" -Dseccomp=disabled ;;
464 --enable-selinux) printf "%s" -Dselinux=enabled ;;
465 --disable-selinux) printf "%s" -Dselinux=disabled ;;
466 --enable-slirp) printf "%s" -Dslirp=enabled ;;
467 --disable-slirp) printf "%s" -Dslirp=disabled ;;
468 --enable-slirp-smbd) printf "%s" -Dslirp_smbd=enabled ;;
469 --disable-slirp-smbd) printf "%s" -Dslirp_smbd=disabled ;;
470 --enable-smartcard) printf "%s" -Dsmartcard=enabled ;;
471 --disable-smartcard) printf "%s" -Dsmartcard=disabled ;;
472 --smbd=*) quote_sh "-Dsmbd=$2" ;;
473 --enable-snappy) printf "%s" -Dsnappy=enabled ;;
474 --disable-snappy) printf "%s" -Dsnappy=disabled ;;
475 --enable-sndio) printf "%s" -Dsndio=enabled ;;
476 --disable-sndio) printf "%s" -Dsndio=disabled ;;
477 --enable-sparse) printf "%s" -Dsparse=enabled ;;
478 --disable-sparse) printf "%s" -Dsparse=disabled ;;
479 --enable-spice) printf "%s" -Dspice=enabled ;;
480 --disable-spice) printf "%s" -Dspice=disabled ;;
481 --enable-spice-protocol) printf "%s" -Dspice_protocol=enabled ;;
482 --disable-spice-protocol) printf "%s" -Dspice_protocol=disabled ;;
483 --enable-stack-protector) printf "%s" -Dstack_protector=enabled ;;
484 --disable-stack-protector) printf "%s" -Dstack_protector=disabled ;;
485 --enable-strip) printf "%s" -Dstrip=true ;;
486 --disable-strip) printf "%s" -Dstrip=false ;;
487 --sysconfdir=*) quote_sh "-Dsysconfdir=$2" ;;
488 --enable-tcg) printf "%s" -Dtcg=enabled ;;
489 --disable-tcg) printf "%s" -Dtcg=disabled ;;
490 --enable-tcg-interpreter) printf "%s" -Dtcg_interpreter=true ;;
491 --disable-tcg-interpreter) printf "%s" -Dtcg_interpreter=false ;;
492 --tls-priority=*) quote_sh "-Dtls_priority=$2" ;;
493 --enable-tools) printf "%s" -Dtools=enabled ;;
494 --disable-tools) printf "%s" -Dtools=disabled ;;
495 --enable-tpm) printf "%s" -Dtpm=enabled ;;
496 --disable-tpm) printf "%s" -Dtpm=disabled ;;
497 --enable-trace-backends=*) quote_sh "-Dtrace_backends=$2" ;;
498 --with-trace-file=*) quote_sh "-Dtrace_file=$2" ;;
499 --enable-tsan) printf "%s" -Dtsan=true ;;
500 --disable-tsan) printf "%s" -Dtsan=false ;;
501 --enable-u2f) printf "%s" -Du2f=enabled ;;
502 --disable-u2f) printf "%s" -Du2f=disabled ;;
503 --enable-usb-redir) printf "%s" -Dusb_redir=enabled ;;
504 --disable-usb-redir) printf "%s" -Dusb_redir=disabled ;;
505 --enable-vde) printf "%s" -Dvde=enabled ;;
506 --disable-vde) printf "%s" -Dvde=disabled ;;
507 --enable-vdi) printf "%s" -Dvdi=enabled ;;
508 --disable-vdi) printf "%s" -Dvdi=disabled ;;
509 --enable-vduse-blk-export) printf "%s" -Dvduse_blk_export=enabled ;;
510 --disable-vduse-blk-export) printf "%s" -Dvduse_blk_export=disabled ;;
511 --enable-vfio-user-server) printf "%s" -Dvfio_user_server=enabled ;;
512 --disable-vfio-user-server) printf "%s" -Dvfio_user_server=disabled ;;
513 --enable-vhdx) printf "%s" -Dvhdx=enabled ;;
514 --disable-vhdx) printf "%s" -Dvhdx=disabled ;;
515 --enable-vhost-crypto) printf "%s" -Dvhost_crypto=enabled ;;
516 --disable-vhost-crypto) printf "%s" -Dvhost_crypto=disabled ;;
517 --enable-vhost-kernel) printf "%s" -Dvhost_kernel=enabled ;;
518 --disable-vhost-kernel) printf "%s" -Dvhost_kernel=disabled ;;
519 --enable-vhost-net) printf "%s" -Dvhost_net=enabled ;;
520 --disable-vhost-net) printf "%s" -Dvhost_net=disabled ;;
521 --enable-vhost-user) printf "%s" -Dvhost_user=enabled ;;
522 --disable-vhost-user) printf "%s" -Dvhost_user=disabled ;;
523 --enable-vhost-user-blk-server) printf "%s" -Dvhost_user_blk_server=enabled ;;
524 --disable-vhost-user-blk-server) printf "%s" -Dvhost_user_blk_server=disabled ;;
525 --enable-vhost-vdpa) printf "%s" -Dvhost_vdpa=enabled ;;
526 --disable-vhost-vdpa) printf "%s" -Dvhost_vdpa=disabled ;;
527 --enable-virglrenderer) printf "%s" -Dvirglrenderer=enabled ;;
528 --disable-virglrenderer) printf "%s" -Dvirglrenderer=disabled ;;
529 --enable-virtfs) printf "%s" -Dvirtfs=enabled ;;
530 --disable-virtfs) printf "%s" -Dvirtfs=disabled ;;
531 --enable-virtfs-proxy-helper) printf "%s" -Dvirtfs_proxy_helper=enabled ;;
532 --disable-virtfs-proxy-helper) printf "%s" -Dvirtfs_proxy_helper=disabled ;;
533 --enable-vmdk) printf "%s" -Dvmdk=enabled ;;
534 --disable-vmdk) printf "%s" -Dvmdk=disabled ;;
535 --enable-vmnet) printf "%s" -Dvmnet=enabled ;;
536 --disable-vmnet) printf "%s" -Dvmnet=disabled ;;
537 --enable-vnc) printf "%s" -Dvnc=enabled ;;
538 --disable-vnc) printf "%s" -Dvnc=disabled ;;
539 --enable-vnc-jpeg) printf "%s" -Dvnc_jpeg=enabled ;;
540 --disable-vnc-jpeg) printf "%s" -Dvnc_jpeg=disabled ;;
541 --enable-vnc-sasl) printf "%s" -Dvnc_sasl=enabled ;;
542 --disable-vnc-sasl) printf "%s" -Dvnc_sasl=disabled ;;
543 --enable-vpc) printf "%s" -Dvpc=enabled ;;
544 --disable-vpc) printf "%s" -Dvpc=disabled ;;
545 --enable-vte) printf "%s" -Dvte=enabled ;;
546 --disable-vte) printf "%s" -Dvte=disabled ;;
547 --enable-vvfat) printf "%s" -Dvvfat=enabled ;;
548 --disable-vvfat) printf "%s" -Dvvfat=disabled ;;
549 --enable-werror) printf "%s" -Dwerror=true ;;
550 --disable-werror) printf "%s" -Dwerror=false ;;
551 --enable-whpx) printf "%s" -Dwhpx=enabled ;;
552 --disable-whpx) printf "%s" -Dwhpx=disabled ;;
553 --enable-xen) printf "%s" -Dxen=enabled ;;
554 --disable-xen) printf "%s" -Dxen=disabled ;;
555 --enable-xen-pci-passthrough) printf "%s" -Dxen_pci_passthrough=enabled ;;
556 --disable-xen-pci-passthrough) printf "%s" -Dxen_pci_passthrough=disabled ;;
557 --enable-xkbcommon) printf "%s" -Dxkbcommon=enabled ;;
558 --disable-xkbcommon) printf "%s" -Dxkbcommon=disabled ;;
559 --enable-zstd) printf "%s" -Dzstd=enabled ;;
560 --disable-zstd) printf "%s" -Dzstd=disabled ;;
561 *) return 1 ;;
562 esac