[libxslt] autogen.sh: Honor NOCONFIGURE environment variable



commit f8bfce4e92e89427489ebad9284872aff4742f37
Author: Colin Walters <walters verbum org>
Date:   Tue Dec 27 12:19:50 2011 -0500

    autogen.sh: Honor NOCONFIGURE environment variable
    
    See http://people.gnome.org/~walters/docs/build-api.txt

 autogen.sh |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 464008b..6c28a6c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]