From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXsoB-0005Vl-Uz for qemu-devel@nongnu.org; Tue, 06 Dec 2011 06:03:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXso6-0005rV-4B for qemu-devel@nongnu.org; Tue, 06 Dec 2011 06:03:35 -0500 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:56021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXso5-0005qZ-RY for qemu-devel@nongnu.org; Tue, 06 Dec 2011 06:03:30 -0500 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 6 Dec 2011 11:03:29 -0000 Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB6B3Q2E2953406 for ; Tue, 6 Dec 2011 11:03:26 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost.localdomain [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB6B3QtF027523 for ; Tue, 6 Dec 2011 04:03:26 -0700 From: Stefan Hajnoczi Date: Tue, 6 Dec 2011 11:01:00 +0000 Message-Id: <1323169274-31657-6-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1323169274-31657-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1323169274-31657-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 05/19] configure: Print a banner comment at the top of config.log List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Anthony Liguori , Stefan Hajnoczi From: Peter Maydell Print a banner comment at the top of config.log identifying when configure was run and the arguments used. This is occasionally useful for debugging purposes. Signed-off-by: Peter Maydell Signed-off-by: Stefan Hajnoczi --- configure | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure b/configure index c98aed1..452b8cf 100755 --- a/configure +++ b/configure @@ -20,6 +20,11 @@ TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.exe" trap "rm -f $TMPC $TMPO $TMPE" EXIT INT QUIT TERM 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 +echo "#" >> config.log + compile_object() { echo $cc $QEMU_CFLAGS -c -o $TMPO $TMPC >> config.log $cc $QEMU_CFLAGS -c -o $TMPO $TMPC >> config.log 2>&1 -- 1.7.7.3