autogen: don't configure if NO_CONFIGURE variable is set.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 9 Dec 2011 09:44:52 +0000 (10:44 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 9 Dec 2011 09:44:52 +0000 (10:44 +0100)
autogen.sh

index 284547f..9e15ad9 100755 (executable)
@@ -36,4 +36,6 @@ else
     ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install || exit $?
 fi
 
-./configure "$@" && echo "Now type 'make' to compile $PROJECT."
+if test -z "$NO_CONFIGURE"; then
+    ./configure "$@" && echo "Now type 'make' to compile $PROJECT."
+fi