add NOCONFIGURE support to autogen.sh
authorRob Clark <rob@ti.com>
Fri, 11 May 2012 01:38:10 +0000 (20:38 -0500)
committerRob Clark <rob@ti.com>
Fri, 11 May 2012 01:38:10 +0000 (20:38 -0500)
autogen.sh

index 904cd6746c8734b2c33e3f80773d4759715d2f6e..1ecf20050f5a49c83fc26b5331cf77d9689aa648 100755 (executable)
@@ -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 "$@"