configure, meson: move --enable-modules to Meson

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2022-10-20 14:53:10 +02:00
parent 877c556705
commit 6002711c66
5 changed files with 20 additions and 29 deletions

View file

@ -23,7 +23,7 @@ qtests_generic = [
'readconfig-test',
'netdev-socket',
]
if config_host.has_key('CONFIG_MODULES')
if enable_modules
qtests_generic += [ 'modules-test' ]
endif