summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-11-27 18:57:39 +0100
committerBruno Haible <bruno@clisp.org>2010-11-27 18:57:39 +0100
commita32097e18b520c74b0102c22f7d80f8a648976a0 (patch)
tree92be0f97740fd4d0f135d4835c08377cad74bcdd
parent66c51d48a8a1b3b7f72e198b082e4b1500b44c6b (diff)
downloadlibunistring-a32097e18b520c74b0102c22f7d80f8a648976a0.tar.gz
Export also undocumented symbols.
-rw-r--r--ChangeLog5
-rw-r--r--lib/Makefile.am7
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ce14d95..b98802c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-27 Bruno Haible <bruno@clisp.org>
+
+ Export also undocumented symbols.
+ * lib/Makefile.am (libunistring.sym): Don't remove _UC* symbols.
+
2010-11-13 Bruno Haible <bruno@clisp.org>
Improve documentation.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 00b797d..eaa6bef 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -209,8 +209,10 @@ HEADERS_WITH_EXTERNS = \
unistring/version.in.h
# List of exported symbols.
-# We extract it from the header files that get installed, removing symbols
-# start with "_UC".
+# We extract it from the header files that get installed.
+# We keep symbols that start with "_UC", because they may be needed for
+# compiling newer versions of gnulib modules when the gnulib module
+# 'libunistring-optional' is in use.
# This file has the same format as the one expected by the libtool option
# '-export-symbols', but we don't use this option, because it would prevent us
# from building some of the gnulib unit tests.
@@ -223,7 +225,6 @@ libunistring.sym : $(HEADERS_WITH_EXTERNS)
fi; \
done \
| $(srcdir)/declared.sh | LC_ALL=C sort | LC_ALL=C uniq \
- | grep -v '^_UC' \
> $@-t
mv $@-t $@
# We distribute it because declared.sh relies on GNU sed.