diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-03-07 12:16:29 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-03-08 15:22:12 +0000 |
commit | 979ae168e5fac830fcf8ca63fed732051af0611a (patch) | |
tree | c674c20d3f3d78a8631263916ea177496ef6f484 /configure | |
parent | 82246040eaaeec8c53e87b2beff5488f6078bf35 (diff) | |
download | qemu-979ae168e5fac830fcf8ca63fed732051af0611a.tar.gz qemu-979ae168e5fac830fcf8ca63fed732051af0611a.tar.bz2 qemu-979ae168e5fac830fcf8ca63fed732051af0611a.zip |
configure: Quote the configure args printed in config.log
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>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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() { |