[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 05/19] configure: Print a banner comment at the top
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 05/19] configure: Print a banner comment at the top of config.log |
Date: |
Tue, 6 Dec 2011 11:01:00 +0000 |
From: Peter Maydell <address@hidden>
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 <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
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
- [Qemu-devel] [PULL 00/19] Trivial patches for 3 to 6 December 2011, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 05/19] configure: Print a banner comment at the top of config.log,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 10/19] pcie_aer: adjust do_pcie_aer_inejct_error -> do_pcie_aer_inject_error, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 08/19] fix typo: delete redundant semicolon, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 04/19] configure: Include #define name in check_define compiler error, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 09/19] fix spelling in hw sub directory, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 02/19] console: Fix console_putchar() for CSI J, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 06/19] net/socket.c : fix memory leak, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 07/19] win32: fix memory leak, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 03/19] console: Fix qemu_default_pixelformat() for 24 bpp, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 13/19] Convert keymap file to U TF-8 encoding, Stefan Hajnoczi, 2011/12/06
- [Qemu-devel] [PATCH 11/19] configure: Pull linux-headers/asm symlink creation out of loop, Stefan Hajnoczi, 2011/12/06