summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 22:50:16 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 22:50:16 +0000
commitfd69fe2b94c12c3889c0ccf0899f4e821ad95e79 (patch)
tree124889e48dc95f7fee96b12becb56d15c9a22da8 /configure
parentd1f193b0edb919ab109f88c53469ec9073f2e142 (diff)
downloadqemu-fd69fe2b94c12c3889c0ccf0899f4e821ad95e79.tar.gz
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