summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <rob.clark@linaro.org>2012-05-11 05:36:07 +0400
committerRob Clark <rob.clark@linaro.org>2012-05-11 05:36:07 +0400
commit26fee2e487d59eefa475806f7fb5a76a139398c6 (patch)
tree6e4e50c5c364b2281b3669590813c72297bc318a
parentda7ba7295aecedea6c0b89cd747a65b9d7dccb65 (diff)
downloadlibdri2-26fee2e487d59eefa475806f7fb5a76a139398c6.tar.xz
add NOCONFIGURE support to autogen.sh
-rwxr-xr-xautogen.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 904cd67..1ecf200 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,4 +9,10 @@ cd $srcdir
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
+test -n "$NOCONFIGURE" && {
+ echo "skipping configure stage as requested."
+ echo "autogen.sh done."
+ exit 0
+}
+
$srcdir/configure --enable-maintainer-mode "$@"