indicate revoked UIDs
[claws.git] / autogen.sh
index 94d58e34fd5d04cc3247bd88622224082b6377b8..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,11 +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 \
-  && intltoolize -f \
-  && ./configure --enable-maintainer-mode $@
+  && intltoolize -f --automake
+if test -z "$NOCONFIGURE"; then
+exec ./configure --enable-maintainer-mode $@
+fi