FYI, with my recent removal of regex's wcscoll dependency, the use of
now-never-set (unless you explicitly pull in the wcscoll module)
HAVE_WCSCOLL was making regex-internal.h fail to define
RE_ENABLE_I18N.

Here's the patch:
From 974b76b72e84d226e4bdfd9ec6f7d955e3d2a199 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyer...@fb.com>
Date: Mon, 21 Oct 2013 14:54:30 -0700
Subject: [PATCH] regex: also remove dependency on HAVE_WCSCOLL

* lib/regex_internal.h: Remove final vestige of the wcscoll dependency.
---
 ChangeLog            | 5 +++++
 lib/regex_internal.h | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 7a42163..1c6a7af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-21  Jim Meyering  <meyer...@fb.com>
+
+       regex: also remove dependency on HAVE_WCSCOLL
+       * lib/regex_internal.h: Remove final vestige of the wcscoll dependency.
+
 2013-10-21  Reuben Thomas <r...@sc3d.org>

        xfreopen: Fix typo. s/frepoen/freopen/
diff --git a/lib/regex_internal.h b/lib/regex_internal.h
index 0d19f35..0270cbf 100644
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -110,7 +110,7 @@
 # define gettext_noop(String) String
 #endif

-#if (defined MB_CUR_MAX && HAVE_WCTYPE_H && HAVE_ISWCTYPE && HAVE_WCSCOLL) || 
_LIBC
+#if (defined MB_CUR_MAX && HAVE_WCTYPE_H && HAVE_ISWCTYPE) || _LIBC
 # define RE_ENABLE_I18N
 #endif

-- 
1.8.4.299.gb3e7d24

Reply via email to