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

Tomeu Vizoso tomeu.vizoso at collabora.com
Thu May 19 12:41:11 UTC 2016


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 at collabora.com>
---
 autogen.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
-- 
2.5.5



More information about the Intel-gfx mailing list