diff options
Diffstat (limited to 'macros2/autogen.sh')
-rw-r--r-- | macros2/autogen.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macros2/autogen.sh b/macros2/autogen.sh index 6a14054..0d9d3bf 100644 --- a/macros2/autogen.sh +++ b/macros2/autogen.sh @@ -19,7 +19,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." @@ -118,6 +118,10 @@ do test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 fi 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..." xml-i18n-toolize --copy --force --automake |