diff mbox

[09/24] Use configure way of enabling kvm

Message ID aea7ff9506e6d4f4098bbea463edc7f07e352f6d.1253272938.git.quintela@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Juan Quintela Sept. 18, 2009, 11:41 a.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
diff mbox

Patch

diff --git a/configure b/configure
index 7806456..4512686 100755
--- a/configure
+++ b/configure
@@ -362,19 +362,14 @@  AIX)
   usb="linux"
   if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
     audio_possible_drivers="$audio_possible_drivers fmod"
-    kvm="yes"
   fi
   if [ "$cpu" = "ia64" ] ; then
-     kvm="yes"
      xen="no"
      target_list="ia64-softmmu"
      cpu_emulation="no"
      gdbstub="no"
      slirp="no"
   fi
-  if [ "$cpu" = "powerpc" ]; then
-      kvm="yes"
-  fi
 ;;
 esac

@@ -926,7 +921,7 @@  esac

 kvm_cflags=""

-if test "$kvm" = "yes" ; then
+if test "$kvm" != "no" ; then

 kvm_cflags="-I$source_path/kvm/include"
 kvm_cflags="$kvm_cflags -I$source_path/kvm/include/$kvm_arch"