Code

autogen: don't run ./configure if $NOCONFIGURE is set
[ncmpc.git] / autogen.sh
index 1a114eab0757191052fdd990f5a9e86724a86b5b..4c02b8af463ab88e6035d09fd582d2daf12dc9b4 100755 (executable)
@@ -25,5 +25,7 @@ automake --add-missing
 
 
 # configure
-echo "./configure $*"
-./configure $*
+if test x$NOCONFIGURE = x; then
+       echo "./configure $*"
+       ./configure $*
+fi