bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* regex: remove last vestige of wcscoll dependency
@ 2013-10-21 22:00 Jim Meyering
  0 siblings, 0 replies; only message in thread
From: Jim Meyering @ 2013-10-21 22:00 UTC (permalink / raw
  To: bug-gnulib

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

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:

[-- Attachment #2: k.txt --]
[-- Type: text/plain, Size: 1185 bytes --]

From 974b76b72e84d226e4bdfd9ec6f7d955e3d2a199 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@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  <meyering@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 <rrt@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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-21 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21 22:00 regex: remove last vestige of wcscoll dependency Jim Meyering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).