aboutsummaryrefslogtreecommitdiff
path: root/sim/common/acinclude.m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-19 04:54:48 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-19 04:54:48 +0000
commit509deab2dcc19550953aa1c886b0f0cac7f9b8bd (patch)
tree350bb40f29ec39826d546fe44667422a45e88fd1 /sim/common/acinclude.m4
parent9a5e0c494c2a828dc4d9223e5f4db61cda7df09f (diff)
downloadgdb-509deab2dcc19550953aa1c886b0f0cac7f9b8bd.zip
gdb-509deab2dcc19550953aa1c886b0f0cac7f9b8bd.tar.gz
gdb-509deab2dcc19550953aa1c886b0f0cac7f9b8bd.tar.bz2
sim: use character classes rather than ranges
A-Z ranges don't work in all locales, so use character classes instead. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common/acinclude.m4')
-rw-r--r--sim/common/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index efb1a29..20155ad 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -178,7 +178,7 @@ AC_ARG_ENABLE(sim-trace,
no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";;
[[-0-9]]*)
sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
- [[a-z]]*)
+ [[[:lower:]]]*)
sim_trace=""
for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
if test x"$sim_trace" = x; then