aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:13:21 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:23 -0500
commit5647eb7475d0278e1a2a9198d7e146936b9d84b1 (patch)
tree1a8ba2bdeab0c9f1583f8b0eecbca890bb420dd2 /configure
parentb41af4ba44560ad0b2997c9a592fcd30bd0a91d0 (diff)
test if xen is enabled only once
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure b/configure
index b64effcfb3..fdcbc83328 100755
--- 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"