* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting

of glob.  Quote arguments with single quotes too.
	* configure: Regenerate.
This commit is contained in:
Richard Sandiford 2007-03-21 20:11:06 +00:00
parent f7ddb59088
commit 52f4adec2e
3 changed files with 8 additions and 2 deletions

View File

@ -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.

2
configure vendored
View File

@ -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'/"` ;;

View 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'/"` ;;