Skip to contentSkip to conversation

[5940] Quote configure' s arguments and location while storing them in config_host.mak

Qemu-devel malc 1 participant 1 message Dec 7, 2008

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 5940

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5940
Author:   malc
Date:     2008-12-07 22:50:16 +0000 (Sun, 07 Dec 2008)

Log Message:
-----------
Quote configure's arguments and location while storing them in config_host.mak

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +3 -1
@@ -1069,7 +1069,9 @@
 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