From 555d2d05f103dc48056a2f83521128c567c3159d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 19 Jan 2012 15:38:35 -0500 Subject: [PATCH] autogen.sh: Honor NOCONFIGURE=1 See http://people.gnome.org/~walters/docs/build-api.txt --- autogen.sh | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/autogen.sh b/autogen.sh index 68d1f59..b3b63b1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,16 +17,20 @@ fi autoreconf -i -f intltoolize --force --copy --automake -run_configure=true -for arg in $*; do - case $arg in - --no-configure) - run_configure=false - ;; - *) - ;; - esac -done +if test -z "$NOCONFIGURE"; then + run_configure=true + for arg in $*; do + case $arg in + --no-configure) + run_configure=false + ;; + *) + ;; + esac + done +else + run_configure=false +fi if test $run_configure = true; then ./configure "$@" -- 2.7.4