summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-10-23 22:59:29 +0200
committerBruno Haible <bruno@clisp.org>2018-10-23 23:38:38 +0200
commitd49ed3c1701cb571a8db20986939fcf127133e2e (patch)
treed187c6cfcd062dce8312777f6f585af7055f685c /lib
parent69a28a5b54a5f852e4c73daab92a59af073a1226 (diff)
downloadlibunistring-d49ed3c1701cb571a8db20986939fcf127133e2e.tar.gz
Support for per-thread locales on systems with HAVE_NAMELESS_LOCALES.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am5
1 files changed, 4 insertions, 1 deletions
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 \