Commit fd69fe2b94c12c3889c0ccf0899f4e821ad95e79

Authored by malc
1 parent d1f193b0

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
Showing 1 changed file with 3 additions and 1 deletions
configure
@@ -1069,7 +1069,9 @@ config_h="config-host.h" @@ -1069,7 +1069,9 @@ config_h="config-host.h"
1069 test -f $config_h && mv $config_h ${config_h}~ 1069 test -f $config_h && mv $config_h ${config_h}~
1070 1070
1071 echo "# Automatically generated by configure - do not modify" > $config_mak 1071 echo "# Automatically generated by configure - do not modify" > $config_mak
1072 -echo "# Configured with: $0 $@" >> $config_mak 1072 +echo -n "# Configured with:" >> $config_mak
  1073 +printf " '%s'" "$0" "$@" >> $config_mak
  1074 +echo >> $config_mak
1073 echo "/* Automatically generated by configure - do not modify */" > $config_h 1075 echo "/* Automatically generated by configure - do not modify */" > $config_h
1074 1076
1075 echo "prefix=$prefix" >> $config_mak 1077 echo "prefix=$prefix" >> $config_mak