Complete intltool support.

* autogen.sh: Complete intltool support.

svn path=/trunk/; revision=13311
This commit is contained in:
Darin Adler
2001-10-02 19:19:44 +00:00
parent af8e425a76
commit 1057efd639
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-10-02 Darin Adler <darin@bentspoon.com>
* autogen.sh: Complete intltool support.
2001-10-02 Darin Adler <darin@bentspoon.com>
* autogen.sh: Add intltool support.

View File

@ -17,7 +17,7 @@ fi
DIE=1
}
(grep "^AM_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && {
(grep "^AC_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && {
(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`intltoolize' installed to compile $PKG_NAME."
@ -158,8 +158,12 @@ do
echo "Making $dr/aclocal.m4 writable ..."
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
fi
if grep "^AC_PROG_INTLTOOL" configure.in >/dev/null; then
echo "Running intltoolize..."
intltoolize --copy --force --automake
fi
if grep "^AM_PROG_XML_I18N_TOOLS" configure.in >/dev/null; then
echo "Running xml-i18n-toolize... Ignore non-fatal messages."
echo "Running xml-i18n-toolize..."
xml-i18n-toolize --copy --force --automake
fi
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then