From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNZWz-0002MO-Vc for qemu-devel@nongnu.org; Thu, 15 Jan 2009 16:13:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNZWx-0002Io-BZ for qemu-devel@nongnu.org; Thu, 15 Jan 2009 16:13:35 -0500 Received: from [199.232.76.173] (port=47389 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNZWw-0002Hu-Rr for qemu-devel@nongnu.org; Thu, 15 Jan 2009 16:13:34 -0500 Received: from savannah.gnu.org ([199.232.41.3]:60628 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNZWw-0005A7-LM for qemu-devel@nongnu.org; Thu, 15 Jan 2009 16:13:34 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LNZWw-0006XP-1l for qemu-devel@nongnu.org; Thu, 15 Jan 2009 21:13:34 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LNZWv-0006XK-LU for qemu-devel@nongnu.org; Thu, 15 Jan 2009 21:13:33 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Thu, 15 Jan 2009 21:13:33 +0000 Subject: [Qemu-devel] [6326] Fix kvm configure test for PPC Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 6326 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6326 Author: aliguori Date: 2009-01-15 21:13:33 +0000 (Thu, 15 Jan 2009) Log Message: ----------- Fix kvm configure test for PPC QEMU uses "ppc" whereas Linux uses "powerpc". Signed-off-by: Anthony Liguori Modified Paths: -------------- trunk/configure Modified: trunk/configure =================================================================== --- trunk/configure 2009-01-15 20:47:45 UTC (rev 6325) +++ trunk/configure 2009-01-15 21:13:33 UTC (rev 6326) @@ -968,6 +968,8 @@ if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) \ -a -d "$kerneldir/arch/x86/include" ; then kvm_cflags="$kvm_cflags -I$kerneldir/arch/x86/include" + elif test "$cpu" = "ppc" -a -d "$kerneldir/arch/powerpc/include" ; then + kvm_cflags="$kvm_cflags -I$kerneldir/arch/powerpc/include" elif test -d "$kerneldir/arch/$cpu/include" ; then kvm_cflags="$kvm_cflags -I$kerneldir/arch/$cpu/include" fi