Received: from eggs.gnu.org ([208.118.235.92]:35351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBViZ-0006Pv-Ho for qemu-devel@nongnu.org; Tue, 11 Sep 2012 15:01:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBViU-0000N1-TI for qemu-devel@nongnu.org; Tue, 11 Sep 2012 15:01:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBViU-0000Ml-Ky for qemu-devel@nongnu.org; Tue, 11 Sep 2012 15:01:46 -0400 From: Eduardo Habkost Date: Tue, 11 Sep 2012 16:02:33 -0300 Message-Id: <1347390153-28682-1-git-send-email-ehabkost@redhat.com> In-Reply-To: <20120911185615.GX6223@otherpad.lan.raisama.net> References: <20120911185615.GX6223@otherpad.lan.raisama.net> Subject: [Qemu-devel] [PATCH] configure: fix "--target-list=, , ..." option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori commit 66d5499b3754b83c09487259c08fe2ce73188a59 broke the support for comma-separated target lists on the --target-list option. e.g.: $ ./configure --target-list=x86_64-linux-user,x86_64-softmmu [...] ERROR: Target 'x86_64-linux-user,x86_64-softmmu' not recognised $ This patch restores that ability. Signed-off-by: Eduardo Habkost Cc: Daniel P. Berrange Cc: Anthony Liguori --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 7656c32..9ee7038 100755 --- a/configure +++ b/configure @@ -1323,7 +1323,9 @@ if ! "$python" -c 'import sys; sys.exit(sys.version_info < (2,4) or sys.version_ fi if test "$target_list" = "DEFAULT" ; then - target_list=`echo "$default_target_list" | sed -e 's/,/ /g'` + target_list="$default_target_list" +else + target_list=`echo "$target_list" | sed -e 's/,/ /g'` fi # see if system emulation was really requested -- 1.7.11.4