Code

po: improved russian translation
[ncmpc.git] / autogen.sh
index 1a114eab0757191052fdd990f5a9e86724a86b5b..1ab5e4cdff656c8b65e79429f78a6a2ee98005f2 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh -e
 
 # Generate config.h.in
 echo "touch stamp-h"
@@ -8,10 +8,6 @@ touch stamp-h
 echo "aclocal..."
 aclocal -I $PWD/m4
 
-# rerun libtoolize
-echo "libtoolize..."
-libtoolize --force
-
 # This generates the configure script from configure.in
 echo "autoconf..."
 autoconf
@@ -25,5 +21,7 @@ automake --add-missing
 
 
 # configure
-echo "./configure $*"
-./configure $*
+if test x$NOCONFIGURE = x; then
+       echo "./configure $*"
+       ./configure $*
+fi