aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2007-03-21 20:11:06 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2007-03-21 20:11:06 +0000
commitffa8bd48e33d601fc4fccc3ad14449c80483daa2 (patch)
treeda8a29c3d63e61d5dc0a4c14523835a5713dd95d
parentc0f91ba6d9e8b655601a43eb83b64e8d503e854e (diff)
downloadgdb-ffa8bd48e33d601fc4fccc3ad14449c80483daa2.zip
gdb-ffa8bd48e33d601fc4fccc3ad14449c80483daa2.tar.gz
gdb-ffa8bd48e33d601fc4fccc3ad14449c80483daa2.tar.bz2
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
of glob. Quote arguments with single quotes too. * configure: Regenerate.
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eedccf4..3a5e778 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 0554463..6e989c2 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 16ff8d3..9c38fad 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'/"` ;;