From 546d3e254b596fc6c719ea6274729d75d0c859b3 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 22 Apr 2009 18:00:17 +0300 Subject: [PATCH] configure: Use USE_KVM instead of CONFIG_KVM We use USE_KVM instead of CONFIG_KVM to distinguish between our version of the kvm/qemu glue and the official one. Change ./configure to reflect that. Signed-off-by: Avi Kivity --- configure | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 063882276f..454cb7b0dc 100755 --- a/configure +++ b/configure @@ -1827,9 +1827,9 @@ case "$target_cpu" in echo "#define USE_KQEMU 1" >> $config_h fi if test "$kvm" = "yes" ; then - echo "CONFIG_KVM=yes" >> $config_mak + echo "USE_KVM=yes" >> $config_mak echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak - echo "#define CONFIG_KVM 1" >> $config_h + echo "#define USE_KVM 1" >> $config_h fi configure_kvm ;; @@ -1851,9 +1851,9 @@ case "$target_cpu" in configure_kvm if [ use_upstream_kvm = yes ]; then if test "$kvm" = "yes" ; then - echo "CONFIG_KVM=yes" >> $config_mak + echo "USE_KVM=yes" >> $config_mak echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak - echo "#define CONFIG_KVM 1" >> $config_h + echo "#define USE_KVM 1" >> $config_h fi fi ;; @@ -1915,9 +1915,9 @@ case "$target_cpu" in echo "#define TARGET_PPC 1" >> $config_h echo "#define TARGET_PPCEMB 1" >> $config_h if test "$kvm" = "yes" ; then - echo "CONFIG_KVM=yes" >> $config_mak + echo "USE_KVM=yes" >> $config_mak echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak - echo "#define CONFIG_KVM 1" >> $config_h + echo "#define USE_KVM 1" >> $config_h fi gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml" ;; -- 2.11.4.GIT