From: aliguori Date: Thu, 15 Jan 2009 21:13:33 +0000 (+0000) Subject: Fix kvm configure test for PPC X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~12960 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=406b430d48c70ec6339bd057da07484df1c85f76;p=sdk%2Femulator%2Fqemu.git Fix kvm configure test for PPC QEMU uses "ppc" whereas Linux uses "powerpc". Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6326 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/configure b/configure index 6f92aad..7fb60fd 100755 --- a/configure +++ b/configure @@ -968,6 +968,8 @@ EOF 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