From: Colin Walters Date: Thu, 19 Jan 2012 20:38:35 +0000 (-0500) Subject: autogen.sh: Honor NOCONFIGURE=1 X-Git-Tag: FOLKS_0_6_7~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=555d2d05f103dc48056a2f83521128c567c3159d;p=platform%2Fupstream%2Ffolks.git autogen.sh: Honor NOCONFIGURE=1 See http://people.gnome.org/~walters/docs/build-api.txt --- 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 "$@"