summaryrefslogtreecommitdiff
path: root/m4/fnmatch.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-02-19 15:06:52 +0100
committerBruno Haible <bruno@clisp.org>2012-02-19 15:06:52 +0100
commitdd544abd49f81be63b5d10de9a1060329834c177 (patch)
tree6b2eb79e8803d3cc5f53ce6d3f6050d676bacf8a /m4/fnmatch.m4
parent74a0def25839a0c6934ca611e605694840877140 (diff)
downloadgnulib-dd544abd49f81be63b5d10de9a1060329834c177.tar.gz
Fix test failure in many locales on Solaris 11.
* tests/test-pipe-filter-gi1.c (main): Don't use range expression in 'tr' arguments. * tests/test-pipe-filter-ii1.c (main): Likewise. * build-aux/bootstrap (check_versions): Run 'tr' command with range expressions in the C locale. * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): Likewise. * m4/host-os.m4 (gl_HOST_OS): Likewise.
Diffstat (limited to 'm4/fnmatch.m4')
-rw-r--r--m4/fnmatch.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4
index 07b43500dd..e46b6e521c 100644
--- a/m4/fnmatch.m4
+++ b/m4/fnmatch.m4
@@ -1,4 +1,4 @@
-# Check for fnmatch - serial 8.
+# Check for fnmatch - serial 9.
# Copyright (C) 2000-2007, 2009-2012 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
@@ -21,7 +21,7 @@ AC_DEFUN([gl_FUNC_FNMATCH_POSIX],
FNMATCH_H=
gl_fnmatch_required_lowercase=`
- echo $gl_fnmatch_required | tr '[[A-Z]]' '[[a-z]]'
+ echo $gl_fnmatch_required | LC_ALL=C tr '[[A-Z]]' '[[a-z]]'
`
gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}"
AC_CACHE_CHECK([for working $gl_fnmatch_required fnmatch],