From 81809d527c4812b80d7812b83f52658cbbdc919a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 5 Jan 2012 10:08:03 -0500 Subject: [PATCH] autogen.sh: Honor NOCONFIGURE environment variable See http://people.gnome.org/~walters/docs/build-api.txt --- autogen.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/autogen.sh b/autogen.sh index 665d3365..a247b327 100755 --- a/autogen.sh +++ b/autogen.sh @@ -41,7 +41,7 @@ test -f entities.c || { exit 1 } -if test -z "$*"; then +if test -z "$NOCONFIGURE" && test -z "$*"; then echo "I am going to run ./configure with no arguments - if you wish " echo "to pass any to it, please specify them on the $0 command line." fi @@ -64,7 +64,9 @@ if test x$OBJ_DIR != x; then cd "$OBJ_DIR" fi -$srcdir/configure "$@" +if test -z "$NOCONFIGURE"; then + $srcdir/configure "$@" -echo -echo "Now type 'make' to compile libxml." + echo + echo "Now type 'make' to compile libxml." +fi