summaryrefslogtreecommitdiff
path: root/macros2/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'macros2/autogen.sh')
-rw-r--r--macros2/autogen.sh16
1 files changed, 13 insertions, 3 deletions
diff --git a/macros2/autogen.sh b/macros2/autogen.sh
index d420e03a..6a14054f 100644
--- a/macros2/autogen.sh
+++ b/macros2/autogen.sh
@@ -19,12 +19,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
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
}
}