diff mbox

[i-g-t] build: Skip configure step if is NOCONFIGURE set

Message ID 1463661671-15643-1-git-send-email-tomeu.vizoso@collabora.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tomeu Vizoso May 19, 2016, 12:41 p.m. UTC
Allow users of autogen.sh to skip the call to configure, which is needed
when building out of tree.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
---
 autogen.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/autogen.sh b/autogen.sh
index 629a2575532d..ec633f3efefd 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -16,4 +16,6 @@  fi
 autoreconf -v --install || exit 1
 cd $ORIGDIR || exit $?
 
-$srcdir/configure "$@"
+if test -z "$NOCONFIGURE"; then
+        $srcdir/configure "$@"
+fi