From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5GGE-0005tn-A7 for qemu-devel@nongnu.org; Wed, 07 Mar 2012 07:46:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5GFz-0002rI-8d for qemu-devel@nongnu.org; Wed, 07 Mar 2012 07:46:29 -0500 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:35522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5GFy-0002qO-V5 for qemu-devel@nongnu.org; Wed, 07 Mar 2012 07:46:15 -0500 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Mar 2012 12:46:11 -0000 Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q27Ck7441867860 for ; Wed, 7 Mar 2012 12:46:07 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q27Ck7Px007611 for ; Wed, 7 Mar 2012 05:46:07 -0700 From: Stefan Hajnoczi Date: Wed, 7 Mar 2012 12:44:47 +0000 Message-Id: <1331124287-6327-14-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1331124287-6327-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1331124287-6327-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 13/13] configure: Quote the configure args printed in config.log List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , qemu-devel@nongnu.org, Stefan Hajnoczi From: Peter Maydell Use the same mechanism we use for printing the configure command line to config-host.mak to print it to config.log. This fixes a bug where the config.log version didn't quote arguments with spaces. Signed-off-by: Peter Maydell Signed-off-by: Stefan Hajnoczi --- configure | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure b/configure index ed3d907..66a65d9 100755 --- a/configure +++ b/configure @@ -22,7 +22,9 @@ rm -f config.log # Print a helpful header at the top of config.log echo "# QEMU configure log $(date)" >> config.log -echo "# produced by $0 $*" >> config.log +printf "# Configured with:" >> config.log +printf " '%s'" "$0" "$@" >> config.log +echo >> config.log echo "#" >> config.log compile_object() { -- 1.7.9.1