configure: Fix the default setting of the "xen" feature
commitbcf0a7dabd8fe01f948801c49b9a948560fa346d
authorThomas Huth <thuth@redhat.com>
Tue, 13 Jul 2021 09:31:54 +0000 (13 11:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Jul 2021 12:44:51 +0000 (22 14:44 +0200)
tree305ecced64aea8b9f5a2603aa5b547d8e6dbdc0c
parent3a6a1256d46daa21210d52b2740121f4ea929e9b
configure: Fix the default setting of the "xen" feature

The "xen" variable should either contain "enabled", "disabled" or
nothing (for auto detection). But when the user currently runs the
configure script with --without-default-features, it gets set to
"no" instead. This does not work as expected, the feature will still
be enabled if the Xen headers are present. Thus set the variable
to "disabled" instead if default_feature switch has been set.

Reported-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210713093155.677589-4-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure