]> git.proxmox.com Git - mirror_qemu.git/commit
meson: create have_vhost_* variables
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Apr 2022 15:34:05 +0000 (17:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 May 2022 05:46:58 +0000 (07:46 +0200)
commit2a3129a37652e5e81d12f6e16dd3c447f09831f9
tree1313b7d550d162bbc3db84d15f63015e47135fde
parent5166dabf4fe4c33e9595b0aaf2c03ccf411199e2
meson: create have_vhost_* variables

When using Meson options rather than config-host.h, the "when" clauses
have to be changed to if statements (which is not necessarily great,
though at least it highlights which parts of the build are per-target
and which are not).

Do that before moving vhost logic to meson.build, though for now
the variables are just based on config-host.mak data.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
tests/meson.build
tools/meson.build