summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-09-14 19:02:30 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-09-25 18:44:34 -0500
commit8bdd3d499fe0ddffa9901c56ab3bc8911d5b8be0 (patch)
treeb3f3ea37adaa5add0936271c30d6757c69538377 /configure
parentc08ba66f13d3977402e0c9cd6ef35323ea11c0d6 (diff)
downloadqemu-8bdd3d499fe0ddffa9901c56ab3bc8911d5b8be0.tar.gz
configure: Allow builds without any system or user emulation
The old code aborted configure when no emulation target was selected. Even after removing the 'exit 1', it tried to read from STDIN when QEMU was configured with configure' '--disable-user' '--disable-system' This is fixed here. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 0 insertions, 4 deletions
diff --git a/configure b/configure
index 1b865174e1..8f99b7b941 100755
--- a/configure
+++ b/configure
@@ -1286,10 +1286,6 @@ if test -z "$target_list" ; then
else
target_list=`echo "$target_list" | sed -e 's/,/ /g'`
fi
-if test -z "$target_list" ; then
- echo "No targets enabled"
- exit 1
-fi
# see if system emulation was really requested
case " $target_list " in
*"-softmmu "*) softmmu=yes