Commit 5738b704 authored by Jon Nordby's avatar Jon Nordby

Check for and run intltoolize in autogen.sh

On some platforms, including Heroku, the intltool macros cannot
be found during build, possibly because the version of autoreconf
does not respect ACLOCAL_PATH. Using intltoolize also allows
to avoid a dependency on intltool when installing from tarball.
parent 6af92288
......@@ -47,3 +47,4 @@
cscope.files
cscope.out
/*.project
m4/intltool.m4
......@@ -21,6 +21,13 @@ if test -z $AUTORECONF; then
exit 1
fi
INTLTOOLIZE=`which intltoolize`
if test -z $INTLTOOLIZE; then
echo "*** No intltoolize found, please install the intltool package ***"
exit 1
fi
intltoolize --automake --copy
autoreconf --force --install --verbose
cd $ORIGDIR
......
......@@ -543,8 +543,7 @@ AC_CHECK_FUNCS(bind_textdomain_codeset,,
]))
LIBS=$gegl_save_LIBS
m4_ifdef([IT_PROG_INTLTOOL],[IT_PROG_INTLTOOL(0.40.1),],
AC_MSG_ERROR([*** intltool version 0.40.1 or later required]))
IT_PROG_INTLTOOL(0.40.1)
AM_GLIB_GNU_GETTEXT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment