build: run ./configure in ./autogen.sh only if NOCONFIGURE is not set

In some circumstances it might not be desirable to run ./configure
together with ./autogen.sh. You can now set NOCONFIGURE=1 to avoid this.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-10-11 10:38:21 +02:00
parent 663b2b88de
commit 23f51fc2a7

View File

@ -2,4 +2,7 @@
set -e
mkdir -p m4
autoreconf -i
./configure --enable-debug "$@"
if test ! "x$NOCONFIGURE" = "x1" ; then
exec ./configure --enable-debug "$@"
fi