From: Peter Maydell Date: Wed, 23 Nov 2011 17:26:44 +0000 (+0000) Subject: configure: Print a banner comment at the top of config.log X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b48e361194530539d3d420528b9c29a3287b77dd;p=qemu.git configure: Print a banner comment at the top of config.log 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 --- diff --git a/configure b/configure index c98aed1c64..452b8cf036 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