meson: use .allowed() method for features
commit43a363ae35f4a04bfb86e0ad033d33ef83514597
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 18 Dec 2021 15:39:43 +0000 (18 16:39 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Feb 2022 14:01:33 +0000 (16 15:01 +0100)
tree682658453dd11862be4c1c5e08ec557baccdee79
parent308c8475bc9d7e352125dea42950afbaf9daadfe
meson: use .allowed() method for features

The method is now in 0.59, using it simplifies some boolean conditions.
The other new methods .require() and .disable_auto_if() can be used too,
but introducing them is not just a matter of search-and-replace.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
tests/meson.build