summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-12-27 12:19:50 -0500
committerColin Walters <walters@verbum.org>2011-12-27 12:19:50 -0500
commitf8bfce4e92e89427489ebad9284872aff4742f37 (patch)
treee3e9d4cac704884deb1bcfa381b9e6de726e2393
parent3634f870de977f38ae3ea81ee0abef4e7e17e245 (diff)
downloadlibxslt-f8bfce4e92e89427489ebad9284872aff4742f37.tar.gz
libxslt-f8bfce4e92e89427489ebad9284872aff4742f37.tar.bz2
libxslt-f8bfce4e92e89427489ebad9284872aff4742f37.zip
autogen.sh: Honor NOCONFIGURE environment variable
See http://people.gnome.org/~walters/docs/build-api.txt
-rwxr-xr-xautogen.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh
index 464008ba..6c28a6c2 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