summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--lib/Makefile.am5
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 946f339..0593b4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2018-10-23 Bruno Haible <bruno@clisp.org>
+
+ Support for per-thread locales on systems with HAVE_NAMELESS_LOCALES.
+ This allows 'uc_locale_language' to return the right locale name for
+ locales created by newlocale() or duplocale() on such systems, if and
+ only if the 'newlocale', 'duplocale' overrides from gnulib are used.
+ * lib/Makefile.am (config.h): Don't hide symbols that start with
+ 'libintl_locale'.
+
2018-09-17 Bruno Haible <bruno@clisp.org>
Remove the 'fixaclocal' auxiliary script.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index ea6201e..1dff4d5 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,5 +1,5 @@
## Makefile for the lib subdirectory of GNU libunistring.
-## Copyright (C) 2009-2011 Free Software Foundation, Inc.
+## Copyright (C) 2009-2018 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -246,6 +246,8 @@ endif
# Hide undesired symbols that are defined by libunistring_la_SOURCES or
# libunistring_la_LIBADD from the global namespace, by prefixing them with
# "libunistring_".
+# But don't hide symbols that start with "libintl_locale", for the reason
+# stated in localename-table.h.
all check install: config.h
config.h: $(BUILT_SOURCES) libunistring.sym
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
@@ -284,6 +286,7 @@ config.h: $(BUILT_SOURCES) libunistring.sym
fi; \
LC_ALL=C join -v 1 - $$symfile; \
} \
+ | grep -v '^libintl_locale' \
| sed -e 's,^\(.*\)$$,#define \1 libunistring_\1,' > config.h-t; \
} 6>&1 && \
if test -f config.h; then \