summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela2009-07-16 18:34:01 +0200
committerAnthony Liguori2009-07-17 00:28:55 +0200
commit0d46b7ed451cc0a50be794361e7309eb4bf6f7b1 (patch)
tree2f5229232889b0b416483bb649ba83ec4183eebd /configure
parentconfigure kvm in a single place (diff)
downloadqemu-0d46b7ed451cc0a50be794361e7309eb4bf6f7b1.tar.gz
qemu-0d46b7ed451cc0a50be794361e7309eb4bf6f7b1.tar.xz
qemu-0d46b7ed451cc0a50be794361e7309eb4bf6f7b1.zip
configure kqemu in a single place
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 5 insertions, 10 deletions
diff --git a/configure b/configure
index f96b9da7da..e21aa86bba 100755
--- a/configure
+++ b/configure
@@ -1970,11 +1970,6 @@ case "$target_arch2" in
echo "TARGET_ARCH=i386" >> $config_mak
echo "#define TARGET_ARCH \"i386\"" >> $config_h
echo "#define TARGET_I386 1" >> $config_h
- if test $kqemu = "yes" -a "$target_softmmu" = "yes"
- then
- echo "CONFIG_KQEMU=y" >> $config_mak
- echo "#define CONFIG_KQEMU 1" >> $config_h
- fi
target_phys_bits=32
;;
x86_64)
@@ -1983,11 +1978,6 @@ case "$target_arch2" in
echo "#define TARGET_ARCH \"x86_64\"" >> $config_h
echo "#define TARGET_I386 1" >> $config_h
echo "#define TARGET_X86_64 1" >> $config_h
- if test $kqemu = "yes" -a "$target_softmmu" = "yes" -a $cpu = "x86_64"
- then
- echo "CONFIG_KQEMU=y" >> $config_mak
- echo "#define CONFIG_KQEMU 1" >> $config_h
- fi
target_phys_bits=64
;;
alpha)
@@ -2145,6 +2135,11 @@ case "$target_arch2" in
echo "CONFIG_XEN=y" >> $config_mak
echo "#define CONFIG_XEN 1" >> $config_h
fi
+ if test $kqemu = "yes" -a "$target_softmmu" = "yes"
+ then
+ echo "CONFIG_KQEMU=y" >> $config_mak
+ echo "#define CONFIG_KQEMU 1" >> $config_h
+ fi
esac
case "$target_arch2" in
i386|x86_64|ppcemb)