qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 22/22] configure: warn on untested --disable-tcg


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 22/22] configure: warn on untested --disable-tcg
Date: Mon, 3 Jul 2017 18:34:53 +0200

--disable-tcg will almost certainly fail to compile on non-x86 platforms,
so issue a warning.

Signed-off-by: Paolo Bonzini <address@hidden>
---
 configure | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure b/configure
index cc8f5e3..a3a21d5 100755
--- a/configure
+++ b/configure
@@ -1766,6 +1766,13 @@ if test "$solaris" = "yes" ; then
   fi
 fi
 
+if test "$tcg" = no; then
+    case "$cpu" in
+        i386 | x86_64) ;;
+        *) echo "WARNING: --disable-tcg not supported on this host, 
compilation may fail" ;;
+    esac
+fi
+
 if test -z "${target_list+xxx}" ; then
     for target in $default_target_list; do
         supported_target $target 2>/dev/null && \
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]