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