diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2007-03-21 23:11:06 +0300 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2007-03-21 23:11:06 +0300 |
commit | 52f4adec2e940d1cc53d96101f2459e8df63fd5b (patch) | |
tree | 3cc56eed50bf8eb1527a88b0adff4396b965389d | |
parent | f7ddb59088918db1816ec293cbffb00b71ccaed6 (diff) |
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
of glob. Quote arguments with single quotes too.
* configure: Regenerate.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -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. @@ -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 16ff8d3dd..9c38fadfd 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'/"` ;; |