summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormalc2008-12-07 23:50:16 +0100
committermalc2008-12-07 23:50:16 +0100
commitfd69fe2b94c12c3889c0ccf0899f4e821ad95e79 (patch)
tree124889e48dc95f7fee96b12becb56d15c9a22da8 /configure
parentSH4: SCI improvement (diff)
downloadqemu-fd69fe2b94c12c3889c0ccf0899f4e821ad95e79.tar.gz
qemu-fd69fe2b94c12c3889c0ccf0899f4e821ad95e79.tar.xz
qemu-fd69fe2b94c12c3889c0ccf0899f4e821ad95e79.zip
Quote configure's arguments and location while storing them in config_host.mak
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5940 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index eb40f9d6c6..85fd51b6f3 100755
--- a/configure
+++ b/configure
@@ -1069,7 +1069,9 @@ config_h="config-host.h"
test -f $config_h && mv $config_h ${config_h}~
echo "# Automatically generated by configure - do not modify" > $config_mak
-echo "# Configured with: $0 $@" >> $config_mak
+echo -n "# Configured with:" >> $config_mak
+printf " '%s'" "$0" "$@" >> $config_mak
+echo >> $config_mak
echo "/* Automatically generated by configure - do not modify */" > $config_h
echo "prefix=$prefix" >> $config_mak