diff options
author | Bruno Haible <bruno@clisp.org> | 2018-10-23 22:59:29 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-10-23 23:38:38 +0200 |
commit | d49ed3c1701cb571a8db20986939fcf127133e2e (patch) | |
tree | d187c6cfcd062dce8312777f6f585af7055f685c | |
parent | 69a28a5b54a5f852e4c73daab92a59af073a1226 (diff) | |
download | libunistring-d49ed3c1701cb571a8db20986939fcf127133e2e.tar.gz |
Support for per-thread locales on systems with HAVE_NAMELESS_LOCALES.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | lib/Makefile.am | 5 |
2 files changed, 13 insertions, 1 deletions
@@ -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 \ |