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