autogen.sh: Support NOCONFIGURE, like gnome-common
authorColin Walters <walters@verbum.org>
Tue, 29 Jun 2010 15:25:18 +0000 (16:25 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 29 Jun 2010 15:25:38 +0000 (16:25 +0100)
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
autogen.sh

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