diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 21:13:33 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 21:13:33 +0000 |
commit | 406b430d48c70ec6339bd057da07484df1c85f76 (patch) | |
tree | 23609ba7a60b7abd57e48b325aa15072e2af6fa1 | |
parent | 6bb816031f8bc0aafc3476e6dfa4293ee3a5f106 (diff) |
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
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |