configure: rewrite accelerator defaults as tests
commit3bd40ec7aefc795146dfed00a33b52c5398e0c79
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 18 Sep 2020 09:22:37 +0000 (18 05:22 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 3 Oct 2020 12:07:36 +0000 (3 08:07 -0400)
treea1b488e72b750c986b7bb5d01ba75b23be26dede
parent1badb709cffee455ec9fb2253cf7aec66e09a9d2
configure: rewrite accelerator defaults as tests

Prepare to process "auto" in meson rather than configure: standardize the
shape of the code that changes "auto" to enabled/disabled, to ease the review
when it will be moved to meson.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure