summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-01-18 17:52:33 -0500
committerColin Walters <walters@verbum.org>2012-01-18 17:53:00 -0500
commite8d6b0ad09ebdcb81b2229937a982ff06c9f4394 (patch)
treeb48494508d4652b6f8bc1162a717982f27820401
parent649671b6eeaeb16d4e965fc1a053809503a21cc1 (diff)
downloadlibrest-e8d6b0ad09ebdcb81b2229937a982ff06c9f4394.tar.gz
autogen.sh: Honor NOCONFIGURE=1
See http://people.gnome.org/~walters/docs/build-api.txt
-rwxr-xr-xautogen.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index edf4db2..b49795d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,4 +8,8 @@ else
gtkdocize --flavour no-tmpl || exit 1
fi
-ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v -i && ./configure $@
+ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v -i
+
+if test -z "$NOCONFIGURE"; then
+ exec ./configure "$@"
+fi