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 (experimental and'
17  printf "%s\n" '                           slow)'
18  printf "%s\n" '  --enable-trace-backends=CHOICE'
19  printf "%s\n" '                           Set available tracing backends [log] (choices:'
20  printf "%s\n" '                           dtrace/ftrace/log/nop/simple/syslog/ust)'
21  printf "%s\n" ''
22  printf "%s\n" 'Optional features, enabled with --enable-FEATURE and'
23  printf "%s\n" 'disabled with --disable-FEATURE, default is enabled if available'
24  printf "%s\n" '(unless built with --without-default-features):'
25  printf "%s\n" ''
26  printf "%s\n" '  alsa            ALSA sound support'
27  printf "%s\n" '  attr            attr/xattr support'
28  printf "%s\n" '  auth-pam        PAM access control'
29  printf "%s\n" '  bpf             eBPF support'
30  printf "%s\n" '  brlapi          brlapi character device driver'
31  printf "%s\n" '  bzip2           bzip2 support for DMG images'
32  printf "%s\n" '  cap-ng          cap_ng support'
33  printf "%s\n" '  cocoa           Cocoa user interface (macOS only)'
34  printf "%s\n" '  coreaudio       CoreAudio sound support'
35  printf "%s\n" '  curl            CURL block device driver'
36  printf "%s\n" '  curses          curses UI'
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" '  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" '  smartcard       CA smartcard emulation support'
76  printf "%s\n" '  snappy          snappy compression support'
77  printf "%s\n" '  sparse          sparse checker'
78  printf "%s\n" '  spice           Spice server support'
79  printf "%s\n" '  spice-protocol  Spice protocol support'
80  printf "%s\n" '  tcg             TCG support'
81  printf "%s\n" '  u2f             U2F emulation support'
82  printf "%s\n" '  usb-redir       libusbredir support'
83  printf "%s\n" '  vde             vde network backend support'
84  printf "%s\n" '  vhost-user-blk-server'
85  printf "%s\n" '                  build vhost-user-blk server'
86  printf "%s\n" '  virglrenderer   virgl rendering support'
87  printf "%s\n" '  virtfs          virtio-9p support'
88  printf "%s\n" '  virtiofsd       build virtiofs daemon (virtiofsd)'
89  printf "%s\n" '  vnc             VNC server'
90  printf "%s\n" '  vnc-jpeg        JPEG lossy compression for VNC server'
91  printf "%s\n" '  vnc-png         PNG compression for VNC server'
92  printf "%s\n" '  vnc-sasl        SASL authentication for VNC server'
93  printf "%s\n" '  vte             vte support for the gtk UI'
94  printf "%s\n" '  whpx            WHPX acceleration support'
95  printf "%s\n" '  xen             Xen backend support'
96  printf "%s\n" '  xen-pci-passthrough'
97  printf "%s\n" '                  Xen PCI passthrough support'
98  printf "%s\n" '  xkbcommon       xkbcommon support'
99  printf "%s\n" '  zstd            zstd compression support'
100}
101_meson_option_parse() {
102  case $1 in
103    --enable-alsa) printf "%s" -Dalsa=enabled ;;
104    --disable-alsa) printf "%s" -Dalsa=disabled ;;
105    --enable-attr) printf "%s" -Dattr=enabled ;;
106    --disable-attr) printf "%s" -Dattr=disabled ;;
107    --enable-auth-pam) printf "%s" -Dauth_pam=enabled ;;
108    --disable-auth-pam) printf "%s" -Dauth_pam=disabled ;;
109    --enable-bpf) printf "%s" -Dbpf=enabled ;;
110    --disable-bpf) printf "%s" -Dbpf=disabled ;;
111    --enable-brlapi) printf "%s" -Dbrlapi=enabled ;;
112    --disable-brlapi) printf "%s" -Dbrlapi=disabled ;;
113    --enable-bzip2) printf "%s" -Dbzip2=enabled ;;
114    --disable-bzip2) printf "%s" -Dbzip2=disabled ;;
115    --enable-cap-ng) printf "%s" -Dcap_ng=enabled ;;
116    --disable-cap-ng) printf "%s" -Dcap_ng=disabled ;;
117    --enable-capstone) printf "%s" -Dcapstone=enabled ;;
118    --disable-capstone) printf "%s" -Dcapstone=disabled ;;
119    --enable-capstone=*) quote_sh "-Dcapstone=$2" ;;
120    --enable-cfi) printf "%s" -Dcfi=true ;;
121    --disable-cfi) printf "%s" -Dcfi=false ;;
122    --enable-cfi-debug) printf "%s" -Dcfi_debug=true ;;
123    --disable-cfi-debug) printf "%s" -Dcfi_debug=false ;;
124    --enable-cocoa) printf "%s" -Dcocoa=enabled ;;
125    --disable-cocoa) printf "%s" -Dcocoa=disabled ;;
126    --enable-coreaudio) printf "%s" -Dcoreaudio=enabled ;;
127    --disable-coreaudio) printf "%s" -Dcoreaudio=disabled ;;
128    --enable-curl) printf "%s" -Dcurl=enabled ;;
129    --disable-curl) printf "%s" -Dcurl=disabled ;;
130    --enable-curses) printf "%s" -Dcurses=enabled ;;
131    --disable-curses) printf "%s" -Dcurses=disabled ;;
132    --enable-docs) printf "%s" -Ddocs=enabled ;;
133    --disable-docs) printf "%s" -Ddocs=disabled ;;
134    --enable-dsound) printf "%s" -Ddsound=enabled ;;
135    --disable-dsound) printf "%s" -Ddsound=disabled ;;
136    --enable-fdt) printf "%s" -Dfdt=enabled ;;
137    --disable-fdt) printf "%s" -Dfdt=disabled ;;
138    --enable-fdt=*) quote_sh "-Dfdt=$2" ;;
139    --enable-fuse) printf "%s" -Dfuse=enabled ;;
140    --disable-fuse) printf "%s" -Dfuse=disabled ;;
141    --enable-fuse-lseek) printf "%s" -Dfuse_lseek=enabled ;;
142    --disable-fuse-lseek) printf "%s" -Dfuse_lseek=disabled ;;
143    --enable-fuzzing) printf "%s" -Dfuzzing=true ;;
144    --disable-fuzzing) printf "%s" -Dfuzzing=false ;;
145    --enable-gcrypt) printf "%s" -Dgcrypt=enabled ;;
146    --disable-gcrypt) printf "%s" -Dgcrypt=disabled ;;
147    --enable-gettext) printf "%s" -Dgettext=enabled ;;
148    --disable-gettext) printf "%s" -Dgettext=disabled ;;
149    --enable-glusterfs) printf "%s" -Dglusterfs=enabled ;;
150    --disable-glusterfs) printf "%s" -Dglusterfs=disabled ;;
151    --enable-gnutls) printf "%s" -Dgnutls=enabled ;;
152    --disable-gnutls) printf "%s" -Dgnutls=disabled ;;
153    --enable-gtk) printf "%s" -Dgtk=enabled ;;
154    --disable-gtk) printf "%s" -Dgtk=disabled ;;
155    --enable-guest-agent-msi) printf "%s" -Dguest_agent_msi=enabled ;;
156    --disable-guest-agent-msi) printf "%s" -Dguest_agent_msi=disabled ;;
157    --enable-hax) printf "%s" -Dhax=enabled ;;
158    --disable-hax) printf "%s" -Dhax=disabled ;;
159    --enable-hvf) printf "%s" -Dhvf=enabled ;;
160    --disable-hvf) printf "%s" -Dhvf=disabled ;;
161    --enable-iconv) printf "%s" -Diconv=enabled ;;
162    --disable-iconv) printf "%s" -Diconv=disabled ;;
163    --enable-install-blobs) printf "%s" -Dinstall_blobs=true ;;
164    --disable-install-blobs) printf "%s" -Dinstall_blobs=false ;;
165    --enable-jack) printf "%s" -Djack=enabled ;;
166    --disable-jack) printf "%s" -Djack=disabled ;;
167    --enable-kvm) printf "%s" -Dkvm=enabled ;;
168    --disable-kvm) printf "%s" -Dkvm=disabled ;;
169    --enable-libdaxctl) printf "%s" -Dlibdaxctl=enabled ;;
170    --disable-libdaxctl) printf "%s" -Dlibdaxctl=disabled ;;
171    --enable-libiscsi) printf "%s" -Dlibiscsi=enabled ;;
172    --disable-libiscsi) printf "%s" -Dlibiscsi=disabled ;;
173    --enable-libnfs) printf "%s" -Dlibnfs=enabled ;;
174    --disable-libnfs) printf "%s" -Dlibnfs=disabled ;;
175    --enable-libpmem) printf "%s" -Dlibpmem=enabled ;;
176    --disable-libpmem) printf "%s" -Dlibpmem=disabled ;;
177    --enable-libudev) printf "%s" -Dlibudev=enabled ;;
178    --disable-libudev) printf "%s" -Dlibudev=disabled ;;
179    --enable-libusb) printf "%s" -Dlibusb=enabled ;;
180    --disable-libusb) printf "%s" -Dlibusb=disabled ;;
181    --enable-libxml2) printf "%s" -Dlibxml2=enabled ;;
182    --disable-libxml2) printf "%s" -Dlibxml2=disabled ;;
183    --enable-linux-aio) printf "%s" -Dlinux_aio=enabled ;;
184    --disable-linux-aio) printf "%s" -Dlinux_aio=disabled ;;
185    --enable-linux-io-uring) printf "%s" -Dlinux_io_uring=enabled ;;
186    --disable-linux-io-uring) printf "%s" -Dlinux_io_uring=disabled ;;
187    --enable-lzfse) printf "%s" -Dlzfse=enabled ;;
188    --disable-lzfse) printf "%s" -Dlzfse=disabled ;;
189    --enable-lzo) printf "%s" -Dlzo=enabled ;;
190    --disable-lzo) printf "%s" -Dlzo=disabled ;;
191    --enable-malloc=*) quote_sh "-Dmalloc=$2" ;;
192    --enable-malloc-trim) printf "%s" -Dmalloc_trim=enabled ;;
193    --disable-malloc-trim) printf "%s" -Dmalloc_trim=disabled ;;
194    --enable-mpath) printf "%s" -Dmpath=enabled ;;
195    --disable-mpath) printf "%s" -Dmpath=disabled ;;
196    --enable-multiprocess) printf "%s" -Dmultiprocess=enabled ;;
197    --disable-multiprocess) printf "%s" -Dmultiprocess=disabled ;;
198    --enable-netmap) printf "%s" -Dnetmap=enabled ;;
199    --disable-netmap) printf "%s" -Dnetmap=disabled ;;
200    --enable-nettle) printf "%s" -Dnettle=enabled ;;
201    --disable-nettle) printf "%s" -Dnettle=disabled ;;
202    --enable-nvmm) printf "%s" -Dnvmm=enabled ;;
203    --disable-nvmm) printf "%s" -Dnvmm=disabled ;;
204    --enable-oss) printf "%s" -Doss=enabled ;;
205    --disable-oss) printf "%s" -Doss=disabled ;;
206    --enable-pa) printf "%s" -Dpa=enabled ;;
207    --disable-pa) printf "%s" -Dpa=disabled ;;
208    --enable-rbd) printf "%s" -Drbd=enabled ;;
209    --disable-rbd) printf "%s" -Drbd=disabled ;;
210    --enable-sdl) printf "%s" -Dsdl=enabled ;;
211    --disable-sdl) printf "%s" -Dsdl=disabled ;;
212    --enable-sdl-image) printf "%s" -Dsdl_image=enabled ;;
213    --disable-sdl-image) printf "%s" -Dsdl_image=disabled ;;
214    --enable-seccomp) printf "%s" -Dseccomp=enabled ;;
215    --disable-seccomp) printf "%s" -Dseccomp=disabled ;;
216    --enable-slirp) printf "%s" -Dslirp=enabled ;;
217    --disable-slirp) printf "%s" -Dslirp=disabled ;;
218    --enable-slirp=*) quote_sh "-Dslirp=$2" ;;
219    --enable-smartcard) printf "%s" -Dsmartcard=enabled ;;
220    --disable-smartcard) printf "%s" -Dsmartcard=disabled ;;
221    --enable-snappy) printf "%s" -Dsnappy=enabled ;;
222    --disable-snappy) printf "%s" -Dsnappy=disabled ;;
223    --enable-sparse) printf "%s" -Dsparse=enabled ;;
224    --disable-sparse) printf "%s" -Dsparse=disabled ;;
225    --enable-spice) printf "%s" -Dspice=enabled ;;
226    --disable-spice) printf "%s" -Dspice=disabled ;;
227    --enable-spice-protocol) printf "%s" -Dspice_protocol=enabled ;;
228    --disable-spice-protocol) printf "%s" -Dspice_protocol=disabled ;;
229    --enable-tcg) printf "%s" -Dtcg=enabled ;;
230    --disable-tcg) printf "%s" -Dtcg=disabled ;;
231    --enable-tcg-interpreter) printf "%s" -Dtcg_interpreter=true ;;
232    --disable-tcg-interpreter) printf "%s" -Dtcg_interpreter=false ;;
233    --enable-trace-backends=*) quote_sh "-Dtrace_backends=$2" ;;
234    --enable-u2f) printf "%s" -Du2f=enabled ;;
235    --disable-u2f) printf "%s" -Du2f=disabled ;;
236    --enable-usb-redir) printf "%s" -Dusb_redir=enabled ;;
237    --disable-usb-redir) printf "%s" -Dusb_redir=disabled ;;
238    --enable-vde) printf "%s" -Dvde=enabled ;;
239    --disable-vde) printf "%s" -Dvde=disabled ;;
240    --enable-vhost-user-blk-server) printf "%s" -Dvhost_user_blk_server=enabled ;;
241    --disable-vhost-user-blk-server) printf "%s" -Dvhost_user_blk_server=disabled ;;
242    --enable-virglrenderer) printf "%s" -Dvirglrenderer=enabled ;;
243    --disable-virglrenderer) printf "%s" -Dvirglrenderer=disabled ;;
244    --enable-virtfs) printf "%s" -Dvirtfs=enabled ;;
245    --disable-virtfs) printf "%s" -Dvirtfs=disabled ;;
246    --enable-virtiofsd) printf "%s" -Dvirtiofsd=enabled ;;
247    --disable-virtiofsd) printf "%s" -Dvirtiofsd=disabled ;;
248    --enable-vnc) printf "%s" -Dvnc=enabled ;;
249    --disable-vnc) printf "%s" -Dvnc=disabled ;;
250    --enable-vnc-jpeg) printf "%s" -Dvnc_jpeg=enabled ;;
251    --disable-vnc-jpeg) printf "%s" -Dvnc_jpeg=disabled ;;
252    --enable-vnc-png) printf "%s" -Dvnc_png=enabled ;;
253    --disable-vnc-png) printf "%s" -Dvnc_png=disabled ;;
254    --enable-vnc-sasl) printf "%s" -Dvnc_sasl=enabled ;;
255    --disable-vnc-sasl) printf "%s" -Dvnc_sasl=disabled ;;
256    --enable-vte) printf "%s" -Dvte=enabled ;;
257    --disable-vte) printf "%s" -Dvte=disabled ;;
258    --enable-whpx) printf "%s" -Dwhpx=enabled ;;
259    --disable-whpx) printf "%s" -Dwhpx=disabled ;;
260    --enable-xen) printf "%s" -Dxen=enabled ;;
261    --disable-xen) printf "%s" -Dxen=disabled ;;
262    --enable-xen-pci-passthrough) printf "%s" -Dxen_pci_passthrough=enabled ;;
263    --disable-xen-pci-passthrough) printf "%s" -Dxen_pci_passthrough=disabled ;;
264    --enable-xkbcommon) printf "%s" -Dxkbcommon=enabled ;;
265    --disable-xkbcommon) printf "%s" -Dxkbcommon=disabled ;;
266    --enable-zstd) printf "%s" -Dzstd=enabled ;;
267    --disable-zstd) printf "%s" -Dzstd=disabled ;;
268    *) return 1 ;;
269  esac
270}
271