From 8ac91cd9662e70115f9631604269a16d18374005 Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 13 Jun 2014 10:20:41 +0100 Subject: [PATCH] add a check and warning for missing intltool; add --automake to intltoolize call --- autogen.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 94d58e34f..cf8cc70b2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -74,11 +74,16 @@ else fi fi +intltoolver=`intltoolize --version` +if [ "$intltoolver" = "" ]; then + echo intltool is needed to compile Claws Mail git + exit 1 +fi aclocal -I m4 \ && libtoolize --force --copy \ && autoheader \ && automake --add-missing --foreign --copy \ && autoconf \ - && intltoolize -f \ + && intltoolize -f --automake \ && ./configure --enable-maintainer-mode $@ -- 2.25.1