Patchwork qemu-io: build on all platforms

login
register
mail settings
Submitter Aurelien Jarno
Date Nov. 18, 2009, 3:14 p.m.
Message ID <20091118151409.GA21019@volta.aurel32.net>
Download mbox | patch
Permalink /patch/38752/
State New
Headers show

Comments

Aurelien Jarno - Nov. 18, 2009, 3:14 p.m.
Since c32d766af127f68bb75ba5689f2f5239227bf559, qemu-io should be
portable. It is currently built only on linux and mingw32.

This patch enables qemu-io on all platforms. Tested on FreeBSD.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 configure |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

Patch

diff --git a/configure b/configure
index e108dfb..e314ac6 100755
--- a/configure
+++ b/configure
@@ -2087,15 +2087,13 @@  esac
 
 tools=
 if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
-  tools="qemu-img\$(EXESUF) $tools"
+  tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools"
   if [ "$linux" = "yes" ] ; then
-      tools="qemu-nbd\$(EXESUF) qemu-io\$(EXESUF) $tools"
+      tools="qemu-nbd\$(EXESUF) $tools"
     if [ "$check_utests" = "yes" ]; then
       tools="check-qint check-qstring check-qdict check-qlist $tools"
       tools="check-qfloat check-qjson $tools"
     fi
-  elif test "$mingw32" = "yes" ; then
-      tools="qemu-io\$(EXESUF) $tools"
   fi
 fi
 echo "TOOLS=$tools" >> $config_host_mak