]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2007 20:09:15 +0000 (20:09 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Mar 2007 20:09:15 +0000 (20:09 +0000)
of glob.  Quote arguments with single quotes too.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123117 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
configure
configure.ac

index f892ab34bcb8b1ea08a75f0c97d6cbd73e928000..3ed00042ed930a7747474bfb2ceb8d98e0c0e54c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-21  Richard Sandiford  <richard@codesourcery.com>
+
+       * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
+       of glob.  Quote arguments with single quotes too.
+       * configure: Regenerate.
+
 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
 
        * Makefile.def (fixincludes): Remove unneeded "missing" lines.
index 0554463a23166d64f6c155bfeb74a1b2386ba0b9..6e989c29a5256cf108c0ff8f0b70462dabcd92d4 100755 (executable)
--- a/configure
+++ b/configure
@@ -1768,7 +1768,7 @@ set -- "$progname" "$@"
 for ac_arg
 do
   case "$ac_arg" in
-  *" "*|*"     "*|*\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?*)
+  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
     # if the argument is of the form -foo=baz, quote the baz part only
     ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
index 16ff8d3ddf1ca3297665a3d5acf78a3aae28c3f6..9c38fadfd9425d26d49853b97081b19199d410df 100644 (file)
@@ -92,7 +92,7 @@ set -- "$progname" "$@"
 for ac_arg
 do
   case "$ac_arg" in
-  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
+  *" "*|*"     "*|*[[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']]*)
     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
     # if the argument is of the form -foo=baz, quote the baz part only
     ac_arg=`echo "'$ac_arg'" | sed "s/^'\([[-a-zA-Z0-9]]*=\)/\\1'/"` ;;