Commit 5647eb7475d0278e1a2a9198d7e146936b9d84b1

Authored by Juan Quintela
Committed by Anthony Liguori
1 parent b41af4ba

test if xen is enabled only once

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing 1 changed file with 1 additions and 4 deletions
configure
... ... @@ -1690,6 +1690,7 @@ if test &quot;$bluez&quot; = &quot;yes&quot; ; then
1690 1690 echo "#define CONFIG_BLUEZ 1" >> $config_host_h
1691 1691 fi
1692 1692 if test "$xen" = "yes" ; then
  1693 + echo "CONFIG_XEN=y" >> $config_host_mak
1693 1694 echo "XEN_LIBS=$xen_libs" >> $config_host_mak
1694 1695 fi
1695 1696 if test "$aio" = "yes" ; then
... ... @@ -1766,10 +1767,6 @@ else
1766 1767 exit 1
1767 1768 fi
1768 1769  
1769   -if test "$xen" = "yes" ; then
1770   - echo "CONFIG_XEN=y" >> $config_host_mak
1771   -fi
1772   -
1773 1770 tools=
1774 1771 if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
1775 1772 tools="qemu-img\$(EXESUF) $tools"
... ...