autogen: Honor NOCONFIGURE environment variable

See https://github.com/cgwalters/build-api/ for rationale.
This commit is contained in:
Colin Walters
2015-11-20 16:01:36 -05:00
parent 89cbfb4313
commit 9b71c00e26

View File

@@ -12,6 +12,8 @@ args="\
--prefix=/usr \
--enable-silent-rules"
set -x
./configure CFLAGS='-g -O0' $args "$@"
make clean
if test -z "${NOCONFIGURE}"; then
set -x
./configure CFLAGS='-g -O0' $args "$@"
make clean
fi