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-strip           Strip targets on install'
17  printf "%s\n" '  --enable-tcg-interpreter TCG with bytecode interpreter (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" '  dbus-display    -display dbus support'
38  printf "%s\n" '  docs            Documentations build support'
39  printf "%s\n" '  dsound          DirectSound sound support'
40  printf "%s\n" '  fuse            FUSE block device export'
41  printf "%s\n" '  fuse-lseek      SEEK_HOLE/SEEK_DATA support for FUSE exports'
42  printf "%s\n" '  gcrypt          libgcrypt cryptography support'
43  printf "%s\n" '  gettext         Localization of the GTK+ user interface'
44  printf "%s\n" '  glusterfs       Glusterfs block device driver'
45  printf "%s\n" '  gnutls          GNUTLS cryptography support'
46  printf "%s\n" '  gtk             GTK+ user interface'
47  printf "%s\n" '  guest-agent-msi Build MSI package for the QEMU Guest Agent'
48  printf "%s\n" '  hax             HAX acceleration support'
49  printf "%s\n" '  hvf             HVF acceleration support'
50  printf "%s\n" '  iconv           Font glyph conversion support'
51  printf "%s\n" '  jack            JACK sound support'
52  printf "%s\n" '  kvm             KVM acceleration support'
53  printf "%s\n" '  l2tpv3          l2tpv3 network backend support'
54  printf "%s\n" '  libdaxctl       libdaxctl support'
55  printf "%s\n" '  libiscsi        libiscsi userspace initiator'
56  printf "%s\n" '  libnfs          libnfs block device driver'
57  printf "%s\n" '  libpmem         libpmem support'
58  printf "%s\n" '  libssh          ssh block device support'
59  printf "%s\n" '  libudev         Use libudev to enumerate host devices'
60  printf "%s\n" '  libusb          libusb support for USB passthrough'
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-linux-aio) printf "%s" -Dlinux_aio=enabled ;;
191    --disable-linux-aio) printf "%s" -Dlinux_aio=disabled ;;
192    --enable-linux-io-uring) printf "%s" -Dlinux_io_uring=enabled ;;
193    --disable-linux-io-uring) printf "%s" -Dlinux_io_uring=disabled ;;
194    --enable-lzfse) printf "%s" -Dlzfse=enabled ;;
195    --disable-lzfse) printf "%s" -Dlzfse=disabled ;;
196    --enable-lzo) printf "%s" -Dlzo=enabled ;;
197    --disable-lzo) printf "%s" -Dlzo=disabled ;;
198    --enable-malloc=*) quote_sh "-Dmalloc=$2" ;;
199    --enable-malloc-trim) printf "%s" -Dmalloc_trim=enabled ;;
200    --disable-malloc-trim) printf "%s" -Dmalloc_trim=disabled ;;
201    --enable-mpath) printf "%s" -Dmpath=enabled ;;
202    --disable-mpath) printf "%s" -Dmpath=disabled ;;
203    --enable-multiprocess) printf "%s" -Dmultiprocess=enabled ;;
204    --disable-multiprocess) printf "%s" -Dmultiprocess=disabled ;;
205    --enable-netmap) printf "%s" -Dnetmap=enabled ;;
206    --disable-netmap) printf "%s" -Dnetmap=disabled ;;
207    --enable-nettle) printf "%s" -Dnettle=enabled ;;
208    --disable-nettle) printf "%s" -Dnettle=disabled ;;
209    --enable-nvmm) printf "%s" -Dnvmm=enabled ;;
210    --disable-nvmm) printf "%s" -Dnvmm=disabled ;;
211    --enable-oss) printf "%s" -Doss=enabled ;;
212    --disable-oss) printf "%s" -Doss=disabled ;;
213    --enable-pa) printf "%s" -Dpa=enabled ;;
214    --disable-pa) printf "%s" -Dpa=disabled ;;
215    --enable-rbd) printf "%s" -Drbd=enabled ;;
216    --disable-rbd) printf "%s" -Drbd=disabled ;;
217    --enable-sdl) printf "%s" -Dsdl=enabled ;;
218    --disable-sdl) printf "%s" -Dsdl=disabled ;;
219    --enable-sdl-image) printf "%s" -Dsdl_image=enabled ;;
220    --disable-sdl-image) printf "%s" -Dsdl_image=disabled ;;
221    --enable-seccomp) printf "%s" -Dseccomp=enabled ;;
222    --disable-seccomp) printf "%s" -Dseccomp=disabled ;;
223    --enable-selinux) printf "%s" -Dselinux=enabled ;;
224    --disable-selinux) printf "%s" -Dselinux=disabled ;;
225    --enable-slirp) printf "%s" -Dslirp=enabled ;;
226    --disable-slirp) printf "%s" -Dslirp=disabled ;;
227    --enable-slirp=*) quote_sh "-Dslirp=$2" ;;
228    --enable-smartcard) printf "%s" -Dsmartcard=enabled ;;
229    --disable-smartcard) printf "%s" -Dsmartcard=disabled ;;
230    --enable-snappy) printf "%s" -Dsnappy=enabled ;;
231    --disable-snappy) printf "%s" -Dsnappy=disabled ;;
232    --enable-sparse) printf "%s" -Dsparse=enabled ;;
233    --disable-sparse) printf "%s" -Dsparse=disabled ;;
234    --enable-spice) printf "%s" -Dspice=enabled ;;
235    --disable-spice) printf "%s" -Dspice=disabled ;;
236    --enable-spice-protocol) printf "%s" -Dspice_protocol=enabled ;;
237    --disable-spice-protocol) printf "%s" -Dspice_protocol=disabled ;;
238    --enable-strip) printf "%s" -Dstrip=true ;;
239    --disable-strip) printf "%s" -Dstrip=false ;;
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