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
This commit is contained in:
parent
6bb816031f
commit
406b430d48
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user