From patchwork Mon Aug 3 12:46:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30518 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 9757FB7099 for ; Mon, 3 Aug 2009 23:20:15 +1000 (EST) Received: from localhost ([127.0.0.1]:41139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXxSU-0005xQ-VG for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 09:20:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXwyx-0003Bb-T8 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXwyt-00038U-LC for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:39 -0400 Received: from [199.232.76.173] (port=51666 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXwys-00038D-Jg for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:34 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40777) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXwyr-0006vG-Qv for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:34 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n73CnXxZ006447; Mon, 3 Aug 2009 08:49:33 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n73CnW8x026022; Mon, 3 Aug 2009 08:49:32 -0400 Received: from localhost.localdomain (vpn-12-117.rdu.redhat.com [10.11.12.117]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n73Cn8MM009715; Mon, 3 Aug 2009 08:49:31 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:46:09 +0200 Message-Id: <4449c57b77c9862095747a446cd7e096410bc7dd.1249301360.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 18/81] refactor kqemu selection for both mingw32 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- configure | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/configure b/configure index a844ad4..5d69420 100755 --- a/configure +++ b/configure @@ -236,16 +236,10 @@ case $targetos in CYGWIN*) mingw32="yes" CFLAGS="-mno-cygwin $CFLAGS" -if [ "$cpu" = "i386" ] ; then - kqemu="yes" -fi audio_possible_drivers="sdl" ;; MINGW32*) mingw32="yes" -if [ "$cpu" = "i386" ] ; then - kqemu="yes" -fi audio_possible_drivers="dsound sdl fmod" ;; GNU/kFreeBSD) @@ -365,6 +359,9 @@ if [ "$bsd" = "yes" ] ; then fi if test "$mingw32" = "yes" ; then + if [ "$cpu" = "i386" ] ; then + kqemu="yes" + fi EXESUF=".exe" CFLAGS="-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 $CFLAGS" fi