summaryrefslogtreecommitdiff
path: root/macros/autogen.sh
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-10-02 19:03:43 +0000
committerDarin Adler <darin@src.gnome.org>2001-10-02 19:03:43 +0000
commit0a13b91e4d6012c8bf167aee3a84a1693662f62b (patch)
tree4a9f3572512e737788f342730768f9a1d862adbd /macros/autogen.sh
parent89ce9c3f6c75d8fc82d63a543f7144aab70fecbb (diff)
downloadshared-mime-info-0a13b91e4d6012c8bf167aee3a84a1693662f62b.tar.gz
Add intltool support.
svn path=/trunk/; revision=2011
Diffstat (limited to 'macros/autogen.sh')
-rw-r--r--macros/autogen.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index bcf985f8..ebc4768a 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
}
}