All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] configure: Quote the configure args printed in config.log
@ 2012-03-07 12:16 ` Peter Maydell
  0 siblings, 0 replies; 16+ messages in thread
From: Peter Maydell @ 2012-03-07 12:16 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

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 <peter.maydell@linaro.org>
---
If I'd noticed when I was adding the banner to config.log that we already
printed this in config-host.mak I'd have done it this way to start with...

 configure |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index a5eb832..1b63436 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.1



^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-03-07 17:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07 12:16 [Qemu-trivial] [PATCH] configure: Quote the configure args printed in config.log Peter Maydell
2012-03-07 12:16 ` [Qemu-devel] " Peter Maydell
2012-03-07 12:40 ` [Qemu-trivial] " Stefan Hajnoczi
2012-03-07 12:40   ` Stefan Hajnoczi
2012-03-07 17:06   ` [Qemu-trivial] " Eric Blake
2012-03-07 17:06     ` Eric Blake
2012-03-07 17:08     ` [Qemu-trivial] " Peter Maydell
2012-03-07 17:08       ` Peter Maydell
2012-03-07 17:17       ` [Qemu-trivial] " Eric Blake
2012-03-07 17:17         ` Eric Blake
2012-03-07 17:09   ` [Qemu-trivial] " Peter Maydell
2012-03-07 17:09     ` Peter Maydell
2012-03-07 17:14 ` [Qemu-trivial] " Avi Kivity
2012-03-07 17:14   ` Avi Kivity
2012-03-07 17:21   ` [Qemu-trivial] " Peter Maydell
2012-03-07 17:21     ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.