From fd69fe2b94c12c3889c0ccf0899f4e821ad95e79 Mon Sep 17 00:00:00 2001 From: malc Date: Sun, 7 Dec 2008 22:50:16 +0000 Subject: [PATCH] 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 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index eb40f9d..85fd51b 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 -- 1.7.9.5