test if xen is enabled only once

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Juan Quintela 2009-07-27 16:13:21 +02:00 committed by Anthony Liguori
parent b41af4ba44
commit 5647eb7475

5
configure vendored
View File

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