qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 8/9] Make python mandatory


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH 8/9] Make python mandatory
Date: Fri, 6 Jan 2012 15:51:27 +0000

From: Sebastian Herbszt <address@hidden>

The QEMU build depends on Python so make it an explicit requirement.

Reviewed-by: Stefan Weil <address@hidden>
Signed-off-by: Sebastian Herbszt <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
 configure |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/configure b/configure
index a1394eb..d88e3ea 100755
--- a/configure
+++ b/configure
@@ -1197,13 +1197,9 @@ if test "$solaris" = "yes" ; then
   fi
 fi
 
-if test "$guest_agent" != "no" ; then
-  if has $python; then
-    :
-  else
-    echo "Python not found. Use --python=/path/to/python"
-    exit 1
-  fi
+if ! has $python; then
+  echo "Python not found. Use --python=/path/to/python"
+  exit 1
 fi
 
 if test -z "$target_list" ; then
-- 
1.7.7.3




reply via email to

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