diff options
author | Colin Walters <walters@verbum.org> | 2013-09-12 23:09:57 -0400 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-09-13 12:18:44 +0200 |
commit | 2b01622f523b7874afa6fb7bbda440d8e05e0e85 (patch) | |
tree | 4b6bc82a7289e675007822723d3f5624855c987e | |
parent | 173ccaa6b90842c62a5ddb3e98cc0392faced69d (diff) |
autogen: Honor NOCONFIGURE=1
See http://people.gnome.org/~walters/docs/build-api.txt
-rwxr-xr-x | autogen.sh | 25 |
1 files changed, 15 insertions, 10 deletions
@@ -3,16 +3,21 @@ set -e autoreconf -i -Wno-portability -run_configure=true -for arg in $*; do - case $arg in - --no-configure) - run_configure=false - ;; - *) - ;; - esac -done +# Honor NOCONFIGURE for compatibility with gnome-autogen.sh +if test x"$NOCONFIGURE" = x; 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 "$@" |