diff options
| author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-21 20:09:15 +0000 |
|---|---|---|
| committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-21 20:09:15 +0000 |
| commit | d623d58787143a556c903aa2ef6c191b2b30316e (patch) | |
| tree | feaf56adf3851705f2004093fef9b5e85de76d6a | |
| parent | 7619cb36a03de73a8dc4376d0c9eb2c6d95e74f3 (diff) | |
| download | ppe42-gcc-d623d58787143a556c903aa2ef6c191b2b30316e.tar.gz ppe42-gcc-d623d58787143a556c903aa2ef6c191b2b30316e.zip | |
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
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
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rwxr-xr-x | configure | 2 | ||||
| -rw-r--r-- | configure.ac | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index f892ab34bcb..3ed00042ed9 100644 --- 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. diff --git a/configure b/configure index 0554463a231..6e989c29a52 100755 --- 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'/"` ;; diff --git a/configure.ac b/configure.ac index 16ff8d3ddf1..9c38fadfd94 100644 --- a/configure.ac +++ b/configure.ac @@ -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'/"` ;; |

