configure: Allow builds without any system or user emulation
authorStefan Weil <sw@weilnetz.de>
Fri, 14 Sep 2012 17:02:30 +0000 (19:02 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 25 Sep 2012 23:44:34 +0000 (18:44 -0500)
commit8bdd3d499fe0ddffa9901c56ab3bc8911d5b8be0
treeb3f3ea37adaa5add0936271c30d6757c69538377
parentc08ba66f13d3977402e0c9cd6ef35323ea11c0d6
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>
Makefile
configure