From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Del5Z-0001zm-2d for qemu-devel@nongnu.org; Sat, 04 Jun 2005 22:42:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Del5W-0001xB-R4 for qemu-devel@nongnu.org; Sat, 04 Jun 2005 22:42:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Del5V-0001vD-Cc for qemu-devel@nongnu.org; Sat, 04 Jun 2005 22:42:09 -0400 Received: from [65.74.133.9] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DekzM-0007an-1g for qemu-devel@nongnu.org; Sat, 04 Jun 2005 22:35:48 -0400 From: Paul Brook Date: Sun, 5 Jun 2005 03:32:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506050332.46604.paul@codesourcery.com> Subject: [Qemu-devel] [patch] Allow command in target-list Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The patch below makes configure --target-list accept a comma separated list of targets, as well as a space separated list. This is easier to protect from the shell, and more consistent with other configure scripts. Space separated lists are still accepted as before. Paul Index: configure =================================================================== --- configure (revision 24) +++ configure (working copy) @@ -215,6 +215,8 @@ if [ "$linux" = "yes" ] ; then target_list="i386-user arm-user armeb-user sparc-user ppc-user $target_list" fi +else + target_list=$(echo "$target_list" | sed -e 's/,/ /g') fi if test -z "$cross_prefix" ; then