summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-08-03 11:40:15 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:13:51 +0200
commit56b4690b151bcb99a5e3a7d1b55ba948a7b76054 (patch)
tree9744f31ef5692a3b2fa2376daa128f274bff023a /autogen.sh
parent59d970b6da22e99b4b1d2b4dccd336514114ae89 (diff)
downloadexternal_gettext-56b4690b151bcb99a5e3a7d1b55ba948a7b76054.zip
external_gettext-56b4690b151bcb99a5e3a7d1b55ba948a7b76054.tar.gz
external_gettext-56b4690b151bcb99a5e3a7d1b55ba948a7b76054.tar.bz2
Use gnulib inside gettext-runtime directory.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh28
1 files changed, 27 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index f48d0de..16a6673 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -51,6 +51,32 @@ fi
# Skip the gnulib-tool step if gnulib-tool was not found.
if test -n "$GNULIB_TOOL"; then
# In gettext-runtime:
+ GNULIB_MODULES_FOR_SRC='
+ atexit
+ basename
+ closeout
+ error
+ exit
+ getopt
+ gettext-h
+ memmove
+ progname
+ propername
+ relocatable
+ relocwrapper
+ stdbool
+ strtoul
+ unlocked-io
+ xalloc
+ '
+ GNULIB_MODULES_OTHER='
+ gettext-runtime-misc
+ csharpcomp-script
+ java
+ javacomp-script
+ '
+ $GNULIB_TOOL --dir=gettext-runtime --lib=libgrt --source-base=gnulib-lib --m4-base=gnulib-m4 --no-libtool --local-dir=gnulib-local \
+ --import $GNULIB_MODULES_FOR_SRC $GNULIB_MODULES_OTHER
# In gettext-tools:
GNULIB_MODULES_FOR_SRC='
alloca-opt
@@ -148,7 +174,7 @@ fi
)
(cd gettext-runtime
- aclocal -I m4 -I ../gettext-tools/m4 -I ../gettext-tools/gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4
+ aclocal -I m4 -I gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4
autoconf
autoheader && touch config.h.in
automake