autogen.sh: Honor NOCONFIGURE environment variable
authorColin Walters <walters@verbum.org>
Tue, 27 Dec 2011 17:19:50 +0000 (12:19 -0500)
committerColin Walters <walters@verbum.org>
Tue, 27 Dec 2011 17:19:50 +0000 (12:19 -0500)
See http://people.gnome.org/~walters/docs/build-api.txt

autogen.sh

index 464008b..6c28a6c 100755 (executable)
@@ -62,8 +62,9 @@ if test x$OBJ_DIR != x; then
     cd "$OBJ_DIR"
 fi
 
-echo Running configure "$@" ...
-$srcdir/configure "$@"
-
-echo 
-echo "Now type 'make' to compile libxslt."
+if test -z "$NOCONFIGURE"; then
+    echo Running configure "$@" ...
+    $srcdir/configure "$@"
+    echo 
+    echo "Now type 'make' to compile libxslt."
+fi