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 c76bf8b07bd001c641babb4f129f426036d513c4..b5f6ec4a97a2bfa8b9d881111a7a7d4e7a4a6de7 100755 (executable)
@@ -15,4 +15,6 @@ MAKEFLAGS=""
 
 autoreconf -v --install || exit 1
 
-"$srcdir"/configure "$@"
+if test -z "$NOCONFIGURE"; then
+    "$srcdir"/configure "$@"
+fi