From 9c9e6d8e0c8124971d06b694df2d3e1d77edc3b1 Mon Sep 17 00:00:00 2001 From: Darin Adler Date: Tue, 2 Oct 2001 19:03:43 +0000 Subject: Add intltool support. svn path=/trunk/; revision=13308 --- macros/autogen.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'macros/autogen.sh') diff --git a/macros/autogen.sh b/macros/autogen.sh index bcf985f846..ebc4768ad2 100644 --- a/macros/autogen.sh +++ b/macros/autogen.sh @@ -17,12 +17,22 @@ fi DIE=1 } +(grep "^AM_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." + echo "Get ftp://ftp.gnome.org/pub/GNOME/stable/sources/intltool/intltool-0.10.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 + } +} + (grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.in >/dev/null) && { (xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`xml-i18n-toolize' installed to compile $PKG_NAME." - echo "Get ftp://ftp.gnome.org/pub/GNOME/stable/sources/xml-i18n-tools/xml-i18n-tools-0.6.tar.gz" - echo "(or a newer version if it is available)" + echo "Get ftp://ftp.gnome.org/pub/GNOME/stable/sources/xml-i18n-tools/xml-i18n-tools-0.9.tar.gz" + echo "(or a newer version of xml-i18n-tools or intltool if it is available)" DIE=1 } } -- cgit