summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2020-08-04 16:06:44 +0200
committerThomas Huth <thuth@redhat.com>2020-09-07 12:34:17 +0200
commite7a222aeb813a06076f5a7b6c56c1b7301b40712 (patch)
treed3395298493442652311f0842dfcfca772a7cfc2
parentd3dd34a1e5e1341167a0d3a1d35eda85f47f52d8 (diff)
downloadfocaccia-qemu-e7a222aeb813a06076f5a7b6c56c1b7301b40712.tar.gz
focaccia-qemu-e7a222aeb813a06076f5a7b6c56c1b7301b40712.zip
configure: Allow automatic WHPX detection
The whpx variable is currently initialized to "no" which causes the WHPX
check to skip the detection unless the user specified --enable-whpx.
Since the detection code should be able to figure it out correctly, let's
initialized the variable to "" on MinGW-builds for proper auto-detection
instead.

Message-Id: <20200804170055.2851-11-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20200823111757.72002-7-thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 922adbc43a..086c6d3197 100755
--- a/configure
+++ b/configure
@@ -849,6 +849,7 @@ case $targetos in
 MINGW32*)
   mingw32="yes"
   hax="yes"
+  whpx=""
   vhost_user="no"
   audio_possible_drivers="dsound sdl"
   if check_include dsound.h; then