Add intltool support.
authorDarin Adler <darin@src.gnome.org>
Tue, 2 Oct 2001 19:08:17 +0000 (19:08 +0000)
committerDarin Adler <darin@src.gnome.org>
Tue, 2 Oct 2001 19:08:17 +0000 (19:08 +0000)
* autogen.sh: Add intltool support.

svn path=/trunk/; revision=2012

macros2/ChangeLog
macros2/autogen.sh

index d129ebc..6dae5a8 100644 (file)
@@ -1,3 +1,7 @@
+2001-10-02  Darin Adler  <darin@bentspoon.com>
+
+       * autogen.sh: Add intltool support.
+
 2001-09-04  Frank Belew  <frb@ximian.com>
 
        * autogen.sh: change gettext regexp to work with non-gnu grep
index d420e03..6a14054 100644 (file)
@@ -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
   }
 }