diff mbox series

configure: Do not intent to build WHPX on 32-bit host

Message ID 20200909182449.360472-1-f4bug@amsat.org
State New
Headers show
Series configure: Do not intent to build WHPX on 32-bit host | expand

Commit Message

Philippe Mathieu-Daudé Sept. 9, 2020, 6:24 p.m. UTC
Hyper-V is available on 64-bit versions of Windows,
do not try to build its support on 32-bit versions.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 configure | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/configure b/configure
index 4231d56bcc0..4bd08f5469b 100755
--- a/configure
+++ b/configure
@@ -2989,6 +2989,9 @@  if test "$whpx" != "no" ; then
         fi
         whpx="no"
     fi
+    if test "$whpx" = "yes" && test "$ARCH" = "i386"; then
+      error_exit "WHPX requires 64-bit host"
+    fi
 fi
 
 ##########################################