]> git.proxmox.com Git - qemu.git/commitdiff
test if xen is enabled only once
authorJuan Quintela <quintela@redhat.com>
Mon, 27 Jul 2009 14:13:21 +0000 (16:13 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jul 2009 19:09:23 +0000 (14:09 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure

index b64effcfb3a8b2bf4657c62044d90780973c3625..fdcbc83328dd9bf78fbd720e4d319ac1d8687fa3 100755 (executable)
--- a/configure
+++ b/configure
@@ -1690,6 +1690,7 @@ if test "$bluez" = "yes" ; then
   echo "#define CONFIG_BLUEZ 1" >> $config_host_h
 fi
 if test "$xen" = "yes" ; then
+  echo "CONFIG_XEN=y" >> $config_host_mak
   echo "XEN_LIBS=$xen_libs" >> $config_host_mak
 fi
 if test "$aio" = "yes" ; then
@@ -1766,10 +1767,6 @@ else
     exit 1
 fi
 
-if test "$xen" = "yes" ; then
-  echo "CONFIG_XEN=y" >> $config_host_mak
-fi
-
 tools=
 if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
   tools="qemu-img\$(EXESUF) $tools"