diff options
author | Darin Adler <darin@src.gnome.org> | 2001-10-03 03:19:44 +0800 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2001-10-03 03:19:44 +0800 |
commit | 1057efd639f0f3f0cef84fb492ef4b6bc4bd8bce (patch) | |
tree | 4f40431522d23238f60c8bc05a1ff27b7b1339ff /macros/autogen.sh | |
parent | af8e425a76e4455148aa63648ecc4ce4186d2bd2 (diff) | |
download | gsoc2013-evolution-1057efd639f0f3f0cef84fb492ef4b6bc4bd8bce.tar.gz gsoc2013-evolution-1057efd639f0f3f0cef84fb492ef4b6bc4bd8bce.tar.zst gsoc2013-evolution-1057efd639f0f3f0cef84fb492ef4b6bc4bd8bce.zip |
Complete intltool support.
* autogen.sh: Complete intltool support.
svn path=/trunk/; revision=13311
Diffstat (limited to 'macros/autogen.sh')
-rw-r--r-- | macros/autogen.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh index ebc4768ad2..71f7dfcf92 100644 --- a/macros/autogen.sh +++ b/macros/autogen.sh @@ -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 |