Make python mandatory
authorSebastian Herbszt <herbszt@gmx.de>
Sat, 31 Dec 2011 11:14:47 +0000 (12:14 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 6 Jan 2012 15:07:15 +0000 (15:07 +0000)
The QEMU build depends on Python so make it an explicit requirement.

Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
configure

index a1394eb1ac59237917331bfa46fd2fadafc6a410..d88e3ea434c8d2db3b806fca49d42e4bc86f999f 100755 (executable)
--- 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