Support NOCONFIGURE environment variable

This is taken from gnome-common; it can be convenient for builders
to separate the autogen from the configure stage.
This commit is contained in:
Colin Walters 2010-07-07 15:46:33 -04:00 committed by Benjamin Otte
parent 9e6c151af8
commit 292423c733

View file

@ -187,8 +187,10 @@ cd "$ORIGDIR" || exit 1
rm -f config.cache
do_cmd $srcdir/configure \
if test -z "$NOCONFIGURE"; then
do_cmd $srcdir/configure \
--cache-file=config.cache \
--disable-static \
--enable-test-surfaces \
${1+"$@"} && echo "Now type \`make' to compile $PROJECT." || exit 1
fi