Fix typos reported on irc (thanks!)
[claws.git] / autogen.sh
index 94d58e34fd5d04cc3247bd88622224082b6377b8..8b79610813d3a5e1f7583f3830d1e6516fc16e00 100755 (executable)
@@ -1,4 +1,8 @@
 #!/bin/sh
+# Copyright 1999-2014 the Claws Mail team.
+# This file is part of Claws Mail package, and distributed under the
+# terms of the General Public License version 3 (or later).
+# See COPYING file for license details.
 
 # ***** W32 build script *******
 # Used to cross-compile for Windows.
@@ -74,11 +78,18 @@ 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 \
-  && ./configure --enable-maintainer-mode $@
+  && intltoolize -f --automake
+if test -z "$NOCONFIGURE"; then
+exec ./configure --enable-maintainer-mode $@
+fi