1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-20 18:50:08 +03:00

autogen.sh: Honor NOCONFIGURE environment variable

See http://people.gnome.org/~walters/docs/build-api.txt
This commit is contained in:
Colin Walters 2012-01-05 10:08:03 -05:00
parent 5bd3c06182
commit 81809d527c

View File

@ -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