configure: convert accelerator variables to meson options

Prepare for moving the tests to meson.  For now they only have
enabled/disabled as the possible values when meson is invoked,
but "auto" will be a possibility later, when configure will only
parse the command line options.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2020-09-18 04:57:25 -04:00
parent 1bb4cb1c33
commit 1badb709cf
3 changed files with 83 additions and 66 deletions

View file

@ -269,7 +269,7 @@ test('decodetree', sh,
subdir('fp')
if 'CONFIG_TCG' in config_host
if not get_option('tcg').disabled()
if 'CONFIG_PLUGIN' in config_host
subdir('plugin')
endif