autogen.sh: Honor NOCONFIGURE environment variable
authorColin Walters <walters@verbum.org>
Sat, 17 Sep 2011 15:21:30 +0000 (11:21 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Sep 2011 18:53:49 +0000 (19:53 +0100)
See http://people.gnome.org/~walters/docs/build-api.txt

Signed-off-by: Dave Airlie <airlied@redhat.com>
autogen.sh

index c76bf8b..b5f6ec4 100755 (executable)
@@ -15,4 +15,6 @@ MAKEFLAGS=""
 
 autoreconf -v --install || exit 1
 
-"$srcdir"/configure "$@"
+if test -z "$NOCONFIGURE"; then
+    "$srcdir"/configure "$@"
+fi