From a32097e18b520c74b0102c22f7d80f8a648976a0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 27 Nov 2010 18:57:39 +0100 Subject: Export also undocumented symbols. --- ChangeLog | 5 +++++ lib/Makefile.am | 7 ++++--- 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 + + Export also undocumented symbols. + * lib/Makefile.am (libunistring.sym): Don't remove _UC* symbols. + 2010-11-13 Bruno Haible 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. -- cgit v1.2.1