autogen.sh: Honor NOCONFIGURE=1

See http://people.gnome.org/~walters/docs/build-api.txt
This commit is contained in:
Colin Walters 2012-11-16 13:28:15 -05:00 committed by Bastien Nocera
parent 45ac0eefb0
commit b2a53a459c
1 changed files with 3 additions and 1 deletions

View File

@ -4,5 +4,7 @@ aclocal || exit 1
autoheader || exit 1
autoconf || exit 1
automake -a -c || exit 1
./configure --enable-maintainer-mode --enable-examples-build \
if test -z "$NOCONFIGURE"; then
exec ./configure --enable-maintainer-mode --enable-examples-build \
--enable-x11-examples-build --enable-debug-log $*
fi