Commit 406b430d48c70ec6339bd057da07484df1c85f76

Authored by aliguori
1 parent 6bb81603

Fix kvm configure test for PPC

QEMU uses "ppc" whereas Linux uses "powerpc".

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6326 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 0 deletions
configure
... ... @@ -968,6 +968,8 @@ EOF
968 968 if test \( "$cpu" = "i386" -o "$cpu" = "x86_64" \) \
969 969 -a -d "$kerneldir/arch/x86/include" ; then
970 970 kvm_cflags="$kvm_cflags -I$kerneldir/arch/x86/include"
  971 + elif test "$cpu" = "ppc" -a -d "$kerneldir/arch/powerpc/include" ; then
  972 + kvm_cflags="$kvm_cflags -I$kerneldir/arch/powerpc/include"
971 973 elif test -d "$kerneldir/arch/$cpu/include" ; then
972 974 kvm_cflags="$kvm_cflags -I$kerneldir/arch/$cpu/include"
973 975 fi
... ...