summaryrefslogtreecommitdiff
path: root/lib/fnmatch.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-12-04 06:41:56 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-12-04 06:41:56 +0000
commit6bc7a02996c53c32437a1055cad7b24d5d7fc88b (patch)
treeb8b7d9ae92a27ad98688da95650fbcd57f9f90cc /lib/fnmatch.c
parent9f36e3cd7a521aa308473e2cb7693dde0f183f7a (diff)
downloadgnulib-6bc7a02996c53c32437a1055cad7b24d5d7fc88b.tar.gz
* lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too.
* lib/regex_internal.h (RE_ENABLE_I18N): Likewise. * m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for iswctype, too. * m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
Diffstat (limited to 'lib/fnmatch.c')
-rw-r--r--lib/fnmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fnmatch.c b/lib/fnmatch.c
index ac3a0dc7cb..fd250f42d3 100644
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -40,7 +40,7 @@
#include <string.h>
#define WIDE_CHAR_SUPPORT \
- (HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC \
+ (HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC && HAVE_ISWCTYPE \
&& HAVE_WMEMCHR && (HAVE_WMEMCPY || HAVE_WMEMPCPY))
/* For platform which support the ISO C amendement 1 functionality we