]> Savannah Git Hosting - gnulib.git/commit
localename: Simplify support for per-thread locales on Solaris 11.4.
authorBruno Haible <bruno@clisp.org>
Tue, 23 Oct 2018 20:18:24 +0000 (22:18 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Oct 2018 20:18:24 +0000 (22:18 +0200)
commit0f0ee4a910a71e7d53d6e05b2bc8bc45afff96ac
tree5b59efffedc3c2bc7b24d36d2a71420ebbabcd38
parent1fd16296ffe0bb34c32630189aad4506dbb6f8ab
localename: Simplify support for per-thread locales on Solaris 11.4.

* m4/intl-thread-locale.m4: Renamed from m4/intlsolaris.m4.
(gt_INTL_THREAD_LOCALE_NAME): Renamed from gt_INTL_SOLARIS. Define
HAVE_SOLARIS114_LOCALES instead of HAVE_NAMELESS_LOCALES.
* lib/localename.c: Handle HAVE_SOLARIS114_LOCALES through Solaris
specific code.
* lib/localename-table.h: Update comments.
* lib/localename-table.c: Update comments.
* m4/localename.m4 (gl_LOCALENAME): Require gt_INTL_THREAD_LOCALE_NAME.
Test for 'uselocale'. Don't invoke gt_INTL_SOLARIS.
* m4/intl.m4 (AM_INTL_SUBDIR): Require gt_INTL_THREAD_LOCALE_NAME. Test
for 'uselocale'. Set HAVE_NAMELESS_LOCALES.
(gt_INTL_SUBDIR_CORE): Don't invoke gt_INTL_SOLARIS. Don't set
HAVE_NAMELESS_LOCALES here.
* modules/localename (Files): Add m4/intl-thread-locale.m4. Remove
m4/intlsolaris.m4.
* modules/gettext (Files): Likewise.
ChangeLog
lib/localename-table.c
lib/localename-table.h
lib/localename.c
m4/intl-thread-locale.m4 [new file with mode: 0644]
m4/intl.m4
m4/intlsolaris.m4 [deleted file]
m4/localename.m4
modules/gettext
modules/localename