summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-09-17 11:21:30 -0400
committerDave Airlie <airlied@redhat.com>2011-09-19 19:53:49 +0100
commit4d515c2146650678da7c1dca42fd914aaeb51157 (patch)
tree77026cdebb88e3e6fbd29d1fbac879b0b65e7148
parentfd17de21231fb41804299d16f837c07798984411 (diff)
autogen.sh: Honor NOCONFIGURE environment variable
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Dave Airlie <airlied@redhat.com>
-rwxr-xr-xautogen.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index c76bf8b07bd0..b5f6ec4a97a2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -15,4 +15,6 @@ MAKEFLAGS=""
autoreconf -v --install || exit 1
-"$srcdir"/configure "$@"
+if test -z "$NOCONFIGURE"; then
+ "$srcdir"/configure "$@"
+fi