kvm: Restrict configure check to Linux

There is no point in trying to find KVM on anything else than Linux, at
least for the moment.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Jan Kiszka 2009-06-14 20:05:02 +02:00 committed by Anthony Liguori
parent 4ab312f793
commit dff840348e

4
configure vendored
View File

@ -190,7 +190,7 @@ io_thread="no"
nptl="yes"
mixemu="no"
bluez="yes"
kvm="yes"
kvm="no"
kerneldir=""
aix="no"
blobs="yes"
@ -290,7 +290,6 @@ SunOS)
make="gmake"
install="ginstall"
needs_libsunmath="no"
kvm="no"
solarisrev=`uname -r | cut -f2 -d.`
# have to select again, because `uname -m` returns i86pc
# even on an x86_64 box.
@ -330,6 +329,7 @@ audio_possible_drivers="oss alsa sdl esd pa"
linux="yes"
linux_user="yes"
usb="linux"
kvm="yes"
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
kqemu="yes"
audio_possible_drivers="$audio_possible_drivers fmod"