aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Christiansen <kenneth@gnu.org>2001-02-04 12:10:39 +0800
committerKenneth Christiansen <kenneth@src.gnome.org>2001-02-04 12:10:39 +0800
commit1b96583c0c6142969e366409bdfd371f078fc683 (patch)
treec999053054b4c122cb4c35b28ae368a302d058c6
parentd33f5f73f8a0f16975dc8028c6a5886dc7c95b17 (diff)
downloadgsoc2013-evolution-1b96583c0c6142969e366409bdfd371f078fc683.tar
gsoc2013-evolution-1b96583c0c6142969e366409bdfd371f078fc683.tar.gz
gsoc2013-evolution-1b96583c0c6142969e366409bdfd371f078fc683.tar.bz2
gsoc2013-evolution-1b96583c0c6142969e366409bdfd371f078fc683.tar.lz
gsoc2013-evolution-1b96583c0c6142969e366409bdfd371f078fc683.tar.xz
gsoc2013-evolution-1b96583c0c6142969e366409bdfd371f078fc683.tar.zst
gsoc2013-evolution-1b96583c0c6142969e366409bdfd371f078fc683.zip
Added AM_PROG_XML_I18N_TOOLS so translations works correctly. Added a
2001-02-04 Kenneth Christiansen <kenneth@gnu.org> * configure.in: Added AM_PROG_XML_I18N_TOOLS so translations works correctly. * macros/autogen.sh: Added a check for xml-i18n-tools. svn path=/trunk/; revision=7951
-rw-r--r--configure.in2
-rw-r--r--macros/autogen.sh10
2 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 3aacc9837a..821fc1220c 100644
--- a/configure.in
+++ b/configure.in
@@ -13,6 +13,8 @@ PACKAGE=evolution
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AC_SUBST(VERSION)
+dnl Initialize xml-i18n-tools
+AM_PROG_XML_I18N_TOOLS
dnl Initialize libtool
AM_PROG_LIBTOOL
diff --git a/macros/autogen.sh b/macros/autogen.sh
index 59c4d0e381..43d7d3f63d 100644
--- a/macros/autogen.sh
+++ b/macros/autogen.sh
@@ -17,6 +17,16 @@ fi
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 Gnome."
+ 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)"
+ DIE=1
+ }
+}
+
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo