From patchwork Fri Jan 6 15:51:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 134681 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id AD286B6F65 for ; Sat, 7 Jan 2012 03:41:53 +1100 (EST) Received: from localhost ([::1]:45363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjC6f-0005UD-F5 for incoming@patchwork.ozlabs.org; Fri, 06 Jan 2012 10:53:25 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjC68-0003id-UM for qemu-devel@nongnu.org; Fri, 06 Jan 2012 10:52:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjC66-0006Wp-00 for qemu-devel@nongnu.org; Fri, 06 Jan 2012 10:52:52 -0500 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:41124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjC65-0006WX-KH for qemu-devel@nongnu.org; Fri, 06 Jan 2012 10:52:49 -0500 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Jan 2012 15:52:48 -0000 Received: from d06nrmr1507.portsmouth.uk.ibm.com ([9.149.38.233]) by e06smtp12.uk.ibm.com ([192.168.101.142]) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 6 Jan 2012 15:52:46 -0000 Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q06FqkoB1925228 for ; Fri, 6 Jan 2012 15:52:46 GMT Received: from d06av05.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q06FqjxB006668 for ; Fri, 6 Jan 2012 08:52:46 -0700 Received: from localhost (stefanha-thinkpad.manchester-maybrook.uk.ibm.com [9.174.219.31]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q06FqjNL006662; Fri, 6 Jan 2012 08:52:45 -0700 From: Stefan Hajnoczi To: Date: Fri, 6 Jan 2012 15:51:27 +0000 Message-Id: <1325865088-23897-9-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1325865088-23897-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1325865088-23897-1-git-send-email-stefanha@linux.vnet.ibm.com> x-cbid: 12010615-8372-0000-0000-000001490875 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.108 Cc: Anthony Liguori , Stefan Hajnoczi , Sebastian Herbszt Subject: [Qemu-devel] [PATCH 8/9] Make python mandatory X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Sebastian Herbszt The QEMU build depends on Python so make it an explicit requirement. Reviewed-by: Stefan Weil Signed-off-by: Sebastian Herbszt Signed-off-by: Stefan Hajnoczi --- 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