Add some missing copyright
[claws.git] / autogen.sh
index e4a95f0bbf3a1cfbfa89bf11be72739a87cbd35c..d647316a4581a31c57fd3e0b800130f5c29422b8 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+# This file is part of Claws Mail package.
+# See COPYING file for license details.
 
 # ***** W32 build script *******
 # Used to cross-compile for Windows.
@@ -74,10 +76,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 \
-  && ./configure --enable-maintainer-mode $@
+  && intltoolize -f --automake
+if test -z "$NOCONFIGURE"; then
+exec ./configure --enable-maintainer-mode $@
+fi