]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Quote configure's arguments and location while storing them in config_host.mak
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 7 Dec 2008 22:50:16 +0000 (22:50 +0000)
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 7 Dec 2008 22:50:16 +0000 (22:50 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5940 c046a42c-6fe2-441c-8c8c-71466251a162

configure

index eb40f9d6c6c66aab38f901f8e24f5c155d59c37a..85fd51b6f3967cdd774afde50f039c456173a231 100755 (executable)
--- 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