summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-10-19 12:06:11 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:10 +0200
commit19fb4ec9dd91a947c4e3df6b57f0849388ce7fe9 (patch)
treeb136d0b662d4060b57b9207ba39e26484897dbfd /autogen.sh
parent6e4ae135f20d4ea0d319b093a092fa8da03d416b (diff)
downloadgettext-19fb4ec9dd91a947c4e3df6b57f0849388ce7fe9.tar.gz
Move the libgettextpo library to the libgettextpo directory.
Remove its dependencies to libgettextsrc and libgettextlib. Hide its exported symbols.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh36
1 files changed, 36 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index e5038538a..ea40fcc33 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -166,6 +166,42 @@ if test -n "$GNULIB_TOOL"; then
'
$GNULIB_TOOL --dir=gettext-tools --lib=libgettextlib --source-base=gnulib-lib --m4-base=gnulib-m4 --libtool --local-dir=gnulib-local \
--import $GNULIB_MODULES_FOR_SRC $GNULIB_MODULES_OTHER
+ # In gettext-tools/libgettextpo:
+ # This is a subset of the GNULIB_MODULES_FOR_SRC.
+ GNULIB_MODULES_FOR_LIBGETTEXTPO='
+ basename
+ c-ctype
+ c-strcase
+ c-strstr
+ error
+ error-progname
+ exit
+ fstrcmp
+ fwriteerror
+ gcd
+ getline
+ gettext-h
+ hash
+ iconv
+ linebreak
+ minmax
+ pathname
+ progname
+ stdbool
+ ucs4-utf8
+ utf8-ucs4
+ utf16-ucs4
+ vasprintf
+ xalloc
+ xallocsa
+ xerror
+ xstriconv
+ xvasprintf
+ '
+ GNULIB_MODULES_OTHER=''
+ $GNULIB_TOOL --dir=gettext-tools --source-base=libgettextpo --m4-base=libgettextpo/gnulib-m4 --macro-prefix=gtpo --makefile-name=Makefile.gnulib --libtool --local-dir=gnulib-local \
+ --import $GNULIB_MODULES_FOR_LIBGETTEXTPO $GNULIB_MODULES_OTHER
+ rm -rf gettext-tools/libgettextpo/gnulib-m4
fi
(cd autoconf-lib-link