diff options
author | Darin Adler <darin@src.gnome.org> | 2001-10-03 03:03:43 +0800 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2001-10-03 03:03:43 +0800 |
commit | 9c9e6d8e0c8124971d06b694df2d3e1d77edc3b1 (patch) | |
tree | 4fc55a2f5b47bad5680c6d029e2302e0a9783dcd /macros/autogen.sh | |
parent | 1ea1b436aa576f324e295449b91c1c4dcf0fa3e3 (diff) | |
download | gsoc2013-evolution-9c9e6d8e0c8124971d06b694df2d3e1d77edc3b1.tar.gz gsoc2013-evolution-9c9e6d8e0c8124971d06b694df2d3e1d77edc3b1.tar.zst gsoc2013-evolution-9c9e6d8e0c8124971d06b694df2d3e1d77edc3b1.zip |
Add intltool support.
svn path=/trunk/; revision=13308
Diffstat (limited to 'macros/autogen.sh')
-rw-r--r-- | macros/autogen.sh | 14 |
1 files changed, 12 insertions, 2 deletions
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 } } |