qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PATCH] configure: Detect --disable-system and --target-l


From: Ben Leslie
Subject: [Qemu-trivial] [PATCH] configure: Detect --disable-system and --target-list conflicts.
Date: Sun, 7 Apr 2013 15:20:44 +1000

The user should not be allowed to configure a softmmu target
when --disable-system is selected.

Signed-off-by: Ben Leslie <address@hidden>
---
 configure | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index d685275..e4288ed 100755
--- a/configure
+++ b/configure
@@ -1353,7 +1353,13 @@ else
 fi
 # see if system emulation was really requested
 case " $target_list " in
-  *"-softmmu "*) softmmu=yes
+  *"-softmmu "*)
+    if test "$softmmu" = "no"; then
+      echo "ERROR: System emulation disabled (via --disable-system),
however a "
+      echo "       system emulation target specified in --target-list."
+      exit 1
+    fi
+    softmmu=yes
   ;;
   *) softmmu=no
   ;;
--



reply via email to

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