1# This file is generated by meson-buildoptions.py, do not edit!
2meson_options_help() {
3  printf "%s\n" '  --enable-capstone[=CHOICE]'
4  printf "%s\n" '                           Whether and how to find the capstone library'
5  printf "%s\n" '                           (choices: auto/disabled/enabled/internal/system)'
6  printf "%s\n" '  --enable-cfi             Control-Flow Integrity (CFI)'
7  printf "%s\n" '  --enable-cfi-debug       Verbose errors in case of CFI violation'
8  printf "%s\n" '  --enable-fdt[=CHOICE]    Whether and how to find the libfdt library'
9  printf "%s\n" '                           (choices: auto/disabled/enabled/internal/system)'
10  printf "%s\n" '  --enable-fuzzing         build fuzzing targets'
11  printf "%s\n" '  --disable-install-blobs  install provided firmware blobs'
12  printf "%s\n" '  --enable-malloc=CHOICE   choose memory allocator to use [system] (choices:'
13  printf "%s\n" '                           jemalloc/system/tcmalloc)'
14  printf "%s\n" '  --enable-slirp[=CHOICE]  Whether and how to find the slirp library'
15  printf "%s\n" '                           (choices: auto/disabled/enabled/internal/system)'
16  printf "%s\n" '  --enable-tcg-interpreter TCG with bytecode interpreter (slow)'
17  printf "%s\n" '  --enable-trace-backends=CHOICE'
18  printf "%s\n" '                           Set available tracing backends [log] (choices:'
19  printf "%s\n" '                           dtrace/ftrace/log/nop/simple/syslog/ust)'
20  printf "%s\n" ''
21  printf "%s\n" 'Optional features, enabled with --enable-FEATURE and'
22  printf "%s\n" 'disabled with --disable-FEATURE, default is enabled if available'
23  printf "%s\n" '(unless built with --without-default-features):'
24  printf "%s\n" ''
25  printf "%s\n" '  alsa            ALSA sound support'
26  printf "%s\n" '  attr            attr/xattr support'
27  printf "%s\n" '  auth-pam        PAM access control'
28  printf "%s\n" '  bpf             eBPF support'
29  printf "%s\n" '  brlapi          brlapi character device driver'
30  printf "%s\n" '  bzip2           bzip2 support for DMG images'
31  printf "%s\n" '  cap-ng          cap_ng support'
32  printf "%s\n" '  cocoa           Cocoa user interface (macOS only)'
33  printf "%s\n" '  coreaudio       CoreAudio sound support'
34  printf "%s\n" '  curl            CURL block device driver'
35  printf "%s\n" '  curses          curses UI'
36  printf "%s\n" '  docs            Documentations build support'
37  printf "%s\n" '  dsound          DirectSound sound support'
38  printf "%s\n" '  fuse            FUSE block device export'
39  printf "%s\n" '  fuse-lseek      SEEK_HOLE/SEEK_DATA support for FUSE exports'
40  printf "%s\n" '  gcrypt          libgcrypt cryptography support'
41  printf "%s\n" '  gettext         Localization of the GTK+ user interface'
42  printf "%s\n" '  glusterfs       Glusterfs block device driver'
43  printf "%s\n" '  gnutls          GNUTLS cryptography support'
44  printf "%s\n" '  gtk             GTK+ user interface'
45  printf "%s\n" '  guest-agent-msi Build MSI package for the QEMU Guest Agent'
46  printf "%s\n" '  hax             HAX acceleration support'
47  printf "%s\n" '  hvf             HVF acceleration support'
48  printf "%s\n" '  iconv           Font glyph conversion support'
49  printf "%s\n" '  jack            JACK sound support'
50  printf "%s\n" '  kvm             KVM acceleration support'
51  printf "%s\n" '  l2tpv3          l2tpv3 network backend support'
52  printf "%s\n" '  libdaxctl       libdaxctl support'
53  printf "%s\n" '  libiscsi        libiscsi userspace initiator'
54  printf "%s\n" '  libnfs          libnfs block device driver'
55  printf "%s\n" '  libpmem         libpmem support'
56  printf "%s\n" '  libudev         Use libudev to enumerate host devices'
57  printf "%s\n" '  libusb          libusb support for USB passthrough'
58  printf "%s\n" '  libxml2         libxml2 support for Parallels image format'
59  printf "%s\n" '  linux-aio       Linux AIO support'
60  printf "%s\n" '  linux-io-uring  Linux io_uring support'
61  printf "%s\n" '  lzfse           lzfse support for DMG images'
62  printf "%s\n" '  lzo             lzo compression support'
63  printf "%s\n" '  malloc-trim     enable libc malloc_trim() for memory optimization'
64  printf "%s\n" '  mpath           Multipath persistent reservation passthrough'
65  printf "%s\n" '  multiprocess    Out of process device emulation support'
66  printf "%s\n" '  netmap          netmap network backend support'
67  printf "%s\n" '  nettle          nettle cryptography support'
68  printf "%s\n" '  nvmm            NVMM acceleration support'
69  printf "%s\n" '  oss             OSS sound support'
70  printf "%s\n" '  pa              PulseAudio sound support'
71  printf "%s\n" '  rbd             Ceph block device driver'
72  printf "%s\n" '  sdl             SDL user interface'
73  printf "%s\n" '  sdl-image       SDL Image support for icons'
74  printf "%s\n" '  seccomp         seccomp support'
75  printf "%s\n" '  selinux         SELinux support in qemu-nbd'
76  printf "%s\n" '  smartcard       CA smartcard emulation support'
77  printf "%s\n" '  snappy          snappy compression support'
78  printf "%s\n" '  sparse          sparse checker'
79  printf "%s\n" '  spice           Spice server support'
80  printf "%s\n" '  spice-protocol  Spice protocol support'
81  printf "%s\n" '  tcg             TCG support'
82  printf "%s\n" '  u2f             U2F emulation support'
83  printf "%s\n" '  usb-redir       libusbredir support'
84  printf "%s\n" '  vde             vde network backend support'
85  printf "%s\n" '  vhost-user-blk-server'
86  printf "%s\n" '                  build vhost-user-blk server'
87  printf "%s\n" '  virglrenderer   virgl rendering support'
88  printf "%s\n" '  virtfs          virtio-9p support'
89  printf "%s\n" '  virtiofsd       build virtiofs daemon (virtiofsd)'
90  printf "%s\n" '  vnc             VNC server'
91  printf "%s\n" '  vnc-jpeg        JPEG lossy compression for VNC server'
92  printf "%s\n" '  vnc-png         PNG compression for VNC server'
93  printf "%s\n" '  vnc-sasl        SASL authentication for VNC server'
94  printf "%s\n" '  vte             vte support for the gtk UI'
95  printf "%s\n" '  whpx            WHPX acceleration support'
96  printf "%s\n" '  xen             Xen backend support'
97  printf "%s\n" '  xen-pci-passthrough'
98  printf "%s\n" '                  Xen PCI passthrough support'
99  printf "%s\n" '  xkbcommon       xkbcommon support'
100  printf "%s\n" '  zstd            zstd compression support'
101}
102_meson_option_parse() {
103  case $1 in
104    --enable-alsa) printf "%s" -Dalsa=enabled ;;
105    --disable-alsa) printf "%s" -Dalsa=disabled ;;
106    --enable-attr) printf "%s" -Dattr=enabled ;;
107    --disable-attr) printf "%s" -Dattr=disabled ;;
108    --enable-auth-pam) printf "%s" -Dauth_pam=enabled ;;
109    --disable-auth-pam) printf "%s" -Dauth_pam=disabled ;;
110    --enable-bpf) printf "%s" -Dbpf=enabled ;;
111    --disable-bpf) printf "%s" -Dbpf=disabled ;;
112    --enable-brlapi) printf "%s" -Dbrlapi=enabled ;;
113    --disable-brlapi) printf "%s" -Dbrlapi=disabled ;;
114    --enable-bzip2) printf "%s" -Dbzip2=enabled ;;
115    --disable-bzip2) printf "%s" -Dbzip2=disabled ;;
116    --enable-cap-ng) printf "%s" -Dcap_ng=enabled ;;
117    --disable-cap-ng) printf "%s" -Dcap_ng=disabled ;;
118    --enable-capstone) printf "%s" -Dcapstone=enabled ;;
119    --disable-capstone) printf "%s" -Dcapstone=disabled ;;
120    --enable-capstone=*) quote_sh "-Dcapstone=$2" ;;
121    --enable-cfi) printf "%s" -Dcfi=true ;;
122    --disable-cfi) printf "%s" -Dcfi=false ;;
123    --enable-cfi-debug) printf "%s" -Dcfi_debug=true ;;
124    --disable-cfi-debug) printf "%s" -Dcfi_debug=false ;;
125    --enable-cocoa) printf "%s" -Dcocoa=enabled ;;
126    --disable-cocoa) printf "%s" -Dcocoa=disabled ;;
127    --enable-coreaudio) printf "%s" -Dcoreaudio=enabled ;;
128    --disable-coreaudio) printf "%s" -Dcoreaudio=disabled ;;
129    --enable-curl) printf "%s" -Dcurl=enabled ;;
130    --disable-curl) printf "%s" -Dcurl=disabled ;;
131    --enable-curses) printf "%s" -Dcurses=enabled ;;
132    --disable-curses) printf "%s" -Dcurses=disabled ;;
133    --enable-docs) printf "%s" -Ddocs=enabled ;;
134    --disable-docs) printf "%s" -Ddocs=disabled ;;
135    --enable-dsound) printf "%s" -Ddsound=enabled ;;
136    --disable-dsound) printf "%s" -Ddsound=disabled ;;
137    --enable-fdt) printf "%s" -Dfdt=enabled ;;
138    --disable-fdt) printf "%s" -Dfdt=disabled ;;
139    --enable-fdt=*) quote_sh "-Dfdt=$2" ;;
140    --enable-fuse) printf "%s" -Dfuse=enabled ;;
141    --disable-fuse) printf "%s" -Dfuse=disabled ;;
142    --enable-fuse-lseek) printf "%s" -Dfuse_lseek=enabled ;;
143    --disable-fuse-lseek) printf "%s" -Dfuse_lseek=disabled ;;
144    --enable-fuzzing) printf "%s" -Dfuzzing=true ;;
145    --disable-fuzzing) printf "%s" -Dfuzzing=false ;;
146    --enable-gcrypt) printf "%s" -Dgcrypt=enabled ;;
147    --disable-gcrypt) printf "%s" -Dgcrypt=disabled ;;
148    --enable-gettext) printf "%s" -Dgettext=enabled ;;
149    --disable-gettext) printf "%s" -Dgettext=disabled ;;
150    --enable-glusterfs) printf "%s" -Dglusterfs=enabled ;;
151    --disable-glusterfs) printf "%s" -Dglusterfs=disabled ;;
152    --enable-gnutls) printf "%s" -Dgnutls=enabled ;;
153    --disable-gnutls) printf "%s" -Dgnutls=disabled ;;
154    --enable-gtk) printf "%s" -Dgtk=enabled ;;
155    --disable-gtk) printf "%s" -Dgtk=disabled ;;
156    --enable-guest-agent-msi) printf "%s" -Dguest_agent_msi=enabled ;;
157    --disable-guest-agent-msi) printf "%s" -Dguest_agent_msi=disabled ;;
158    --enable-hax) printf "%s" -Dhax=enabled ;;
159    --disable-hax) printf "%s" -Dhax=disabled ;;
160    --enable-hvf) printf "%s" -Dhvf=enabled ;;
161    --disable-hvf) printf "%s" -Dhvf=disabled ;;
162    --enable-iconv) printf "%s" -Diconv=enabled ;;
163    --disable-iconv) printf "%s" -Diconv=disabled ;;
164    --enable-install-blobs) printf "%s" -Dinstall_blobs=true ;;
165    --disable-install-blobs) printf "%s" -Dinstall_blobs=false ;;
166    --enable-jack) printf "%s" -Djack=enabled ;;
167    --disable-jack) printf "%s" -Djack=disabled ;;
168    --enable-kvm) printf "%s" -Dkvm=enabled ;;
169    --disable-kvm) printf "%s" -Dkvm=disabled ;;
170    --enable-l2tpv3) printf "%s" -Dl2tpv3=enabled ;;
171    --disable-l2tpv3) printf "%s" -Dl2tpv3=disabled ;;
172    --enable-libdaxctl) printf "%s" -Dlibdaxctl=enabled ;;
173    --disable-libdaxctl) printf "%s" -Dlibdaxctl=disabled ;;
174    --enable-libiscsi) printf "%s" -Dlibiscsi=enabled ;;
175    --disable-libiscsi) printf "%s" -Dlibiscsi=disabled ;;
176    --enable-libnfs) printf "%s" -Dlibnfs=enabled ;;
177    --disable-libnfs) printf "%s" -Dlibnfs=disabled ;;
178    --enable-libpmem) printf "%s" -Dlibpmem=enabled ;;
179    --disable-libpmem) printf "%s" -Dlibpmem=disabled ;;
180    --enable-libudev) printf "%s" -Dlibudev=enabled ;;
181    --disable-libudev) printf "%s" -Dlibudev=disabled ;;
182    --enable-libusb) printf "%s" -Dlibusb=enabled ;;
183    --disable-libusb) printf "%s" -Dlibusb=disabled ;;
184    --enable-libxml2) printf "%s" -Dlibxml2=enabled ;;
185    --disable-libxml2) printf "%s" -Dlibxml2=disabled ;;
186    --enable-linux-aio) printf "%s" -Dlinux_aio=enabled ;;
187    --disable-linux-aio) printf "%s" -Dlinux_aio=disabled ;;
188    --enable-linux-io-uring) printf "%s" -Dlinux_io_uring=enabled ;;
189    --disable-linux-io-uring) printf "%s" -Dlinux_io_uring=disabled ;;
190    --enable-lzfse) printf "%s" -Dlzfse=enabled ;;
191    --disable-lzfse) printf "%s" -Dlzfse=disabled ;;
192    --enable-lzo) printf "%s" -Dlzo=enabled ;;
193    --disable-lzo) printf "%s" -Dlzo=disabled ;;
194    --enable-malloc=*) quote_sh "-Dmalloc=$2" ;;
195    --enable-malloc-trim) printf "%s" -Dmalloc_trim=enabled ;;
196    --disable-malloc-trim) printf "%s" -Dmalloc_trim=disabled ;;
197    --enable-mpath) printf "%s" -Dmpath=enabled ;;
198    --disable-mpath) printf "%s" -Dmpath=disabled ;;
199    --enable-multiprocess) printf "%s" -Dmultiprocess=enabled ;;
200    --disable-multiprocess) printf "%s" -Dmultiprocess=disabled ;;
201    --enable-netmap) printf "%s" -Dnetmap=enabled ;;
202    --disable-netmap) printf "%s" -Dnetmap=disabled ;;
203    --enable-nettle) printf "%s" -Dnettle=enabled ;;
204    --disable-nettle) printf "%s" -Dnettle=disabled ;;
205    --enable-nvmm) printf "%s" -Dnvmm=enabled ;;
206    --disable-nvmm) printf "%s" -Dnvmm=disabled ;;
207    --enable-oss) printf "%s" -Doss=enabled ;;
208    --disable-oss) printf "%s" -Doss=disabled ;;
209    --enable-pa) printf "%s" -Dpa=enabled ;;
210    --disable-pa) printf "%s" -Dpa=disabled ;;
211    --enable-rbd) printf "%s" -Drbd=enabled ;;
212    --disable-rbd) printf "%s" -Drbd=disabled ;;
213    --enable-sdl) printf "%s" -Dsdl=enabled ;;
214    --disable-sdl) printf "%s" -Dsdl=disabled ;;
215    --enable-sdl-image) printf "%s" -Dsdl_image=enabled ;;
216    --disable-sdl-image) printf "%s" -Dsdl_image=disabled ;;
217    --enable-seccomp) printf "%s" -Dseccomp=enabled ;;
218    --disable-seccomp) printf "%s" -Dseccomp=disabled ;;
219    --enable-selinux) printf "%s" -Dselinux=enabled ;;
220    --disable-selinux) printf "%s" -Dselinux=disabled ;;
221    --enable-slirp) printf "%s" -Dslirp=enabled ;;
222    --disable-slirp) printf "%s" -Dslirp=disabled ;;
223    --enable-slirp=*) quote_sh "-Dslirp=$2" ;;
224    --enable-smartcard) printf "%s" -Dsmartcard=enabled ;;
225    --disable-smartcard) printf "%s" -Dsmartcard=disabled ;;
226    --enable-snappy) printf "%s" -Dsnappy=enabled ;;
227    --disable-snappy) printf "%s" -Dsnappy=disabled ;;
228    --enable-sparse) printf "%s" -Dsparse=enabled ;;
229    --disable-sparse) printf "%s" -Dsparse=disabled ;;
230    --enable-spice) printf "%s" -Dspice=enabled ;;
231    --disable-spice) printf "%s" -Dspice=disabled ;;
232    --enable-spice-protocol) printf "%s" -Dspice_protocol=enabled ;;
233    --disable-spice-protocol) printf "%s" -Dspice_protocol=disabled ;;
234    --enable-tcg) printf "%s" -Dtcg=enabled ;;
235    --disable-tcg) printf "%s" -Dtcg=disabled ;;
236    --enable-tcg-interpreter) printf "%s" -Dtcg_interpreter=true ;;
237    --disable-tcg-interpreter) printf "%s" -Dtcg_interpreter=false ;;
238    --enable-trace-backends=*) quote_sh "-Dtrace_backends=$2" ;;
239    --enable-u2f) printf "%s" -Du2f=enabled ;;
240    --disable-u2f) printf "%s" -Du2f=disabled ;;
241    --enable-usb-redir) printf "%s" -Dusb_redir=enabled ;;
242    --disable-usb-redir) printf "%s" -Dusb_redir=disabled ;;
243    --enable-vde) printf "%s" -Dvde=enabled ;;
244    --disable-vde) printf "%s" -Dvde=disabled ;;
245    --enable-vhost-user-blk-server) printf "%s" -Dvhost_user_blk_server=enabled ;;
246    --disable-vhost-user-blk-server) printf "%s" -Dvhost_user_blk_server=disabled ;;
247    --enable-virglrenderer) printf "%s" -Dvirglrenderer=enabled ;;
248    --disable-virglrenderer) printf "%s" -Dvirglrenderer=disabled ;;
249    --enable-virtfs) printf "%s" -Dvirtfs=enabled ;;
250    --disable-virtfs) printf "%s" -Dvirtfs=disabled ;;
251    --enable-virtiofsd) printf "%s" -Dvirtiofsd=enabled ;;
252    --disable-virtiofsd) printf "%s" -Dvirtiofsd=disabled ;;
253    --enable-vnc) printf "%s" -Dvnc=enabled ;;
254    --disable-vnc) printf "%s" -Dvnc=disabled ;;
255    --enable-vnc-jpeg) printf "%s" -Dvnc_jpeg=enabled ;;
256    --disable-vnc-jpeg) printf "%s" -Dvnc_jpeg=disabled ;;
257    --enable-vnc-png) printf "%s" -Dvnc_png=enabled ;;
258    --disable-vnc-png) printf "%s" -Dvnc_png=disabled ;;
259    --enable-vnc-sasl) printf "%s" -Dvnc_sasl=enabled ;;
260    --disable-vnc-sasl) printf "%s" -Dvnc_sasl=disabled ;;
261    --enable-vte) printf "%s" -Dvte=enabled ;;
262    --disable-vte) printf "%s" -Dvte=disabled ;;
263    --enable-whpx) printf "%s" -Dwhpx=enabled ;;
264    --disable-whpx) printf "%s" -Dwhpx=disabled ;;
265    --enable-xen) printf "%s" -Dxen=enabled ;;
266    --disable-xen) printf "%s" -Dxen=disabled ;;
267    --enable-xen-pci-passthrough) printf "%s" -Dxen_pci_passthrough=enabled ;;
268    --disable-xen-pci-passthrough) printf "%s" -Dxen_pci_passthrough=disabled ;;
269    --enable-xkbcommon) printf "%s" -Dxkbcommon=enabled ;;
270    --disable-xkbcommon) printf "%s" -Dxkbcommon=disabled ;;
271    --enable-zstd) printf "%s" -Dzstd=enabled ;;
272    --disable-zstd) printf "%s" -Dzstd=disabled ;;
273    *) return 1 ;;
274  esac
275}
276