Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCr5l-0006RO-DI for qemu-devel@nongnu.org; Wed, 17 Dec 2008 02:45:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCr5i-0006O6-Lj for qemu-devel@nongnu.org; Wed, 17 Dec 2008 02:45:12 -0500 Received: from [199.232.76.173] (port=36296 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCr5i-0006Nm-ER for qemu-devel@nongnu.org; Wed, 17 Dec 2008 02:45:10 -0500 Received: from mx20.gnu.org ([199.232.41.8]:43624) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCr5h-0000B0-Tk for qemu-devel@nongnu.org; Wed, 17 Dec 2008 02:45:10 -0500 Received: from dsl081-035-242.lax1.dsl.speakeasy.net ([64.81.35.242] helo=ground0.sonous.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCr5g-0004sY-7F for qemu-devel@nongnu.org; Wed, 17 Dec 2008 02:45:08 -0500 Received: from [192.168.1.205] (unknown [192.168.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ground0.sonous.com (Postfix) with ESMTP id CC93317E55 for ; Tue, 16 Dec 2008 23:25:03 -0800 (PST) Message-Id: <5ED905FB-CB4B-45D3-99B7-3D415750F2C4@sonous.com> From: Lev Lvovsky Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 16 Dec 2008 23:24:56 -0800 Subject: [Qemu-devel] configure echo usage 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 I'm new to the list, so please let me know if this isn't the way to go about this: /bin/sh on my system (OS X 10.5.x) invokes a shell which has a built- in echo command which doesn't have a "-n" option. Subseqently the config output files don't get comments where they should. The following patch should provide the same functionality. thanks, -lev ------ bash-3.2$ svn diff configure Index: configure =================================================================== --- configure (revision 6069) +++ configure (working copy) @@ -1094,8 +1094,7 @@ test -f $config_h && mv $config_h ${config_h}~ echo "# Automatically generated by configure - do not modify" > $config_mak -echo -n "# Configured with:" >> $config_mak -printf " '%s'" "$0" "$@" >> $config_mak +printf "# Configured with: $0 $@" >> $config_mak echo >> $config_mak echo "/* Automatically generated by configure - do not modify */" > $config_h