[libxml2] autogen.sh: Honor NOCONFIGURE environment variable
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] autogen.sh: Honor NOCONFIGURE environment variable
- Date: Thu, 5 Jan 2012 15:08:44 +0000 (UTC)
commit 81809d527c4812b80d7812b83f52658cbbdc919a
Author: Colin Walters <walters verbum org>
Date: Thu Jan 5 10:08:03 2012 -0500
autogen.sh: Honor NOCONFIGURE environment variable
See http://people.gnome.org/~walters/docs/build-api.txt
autogen.sh | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 665d336..a247b32 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]