autogen: Honor NOCONFIGURE=1
See http://people.gnome.org/~walters/docs/build-api.txt
Colin Walters authored 10 years ago
Guillaume Desmottes committed 10 years ago
2 | 2 | |
3 | 3 | autoreconf -i -Wno-portability |
4 | 4 | |
5 | run_configure=true | |
6 | for arg in $*; do | |
7 | case $arg in | |
8 | --no-configure) | |
9 | run_configure=false | |
10 | ;; | |
11 | *) | |
12 | ;; | |
13 | esac | |
14 | done | |
5 | # Honor NOCONFIGURE for compatibility with gnome-autogen.sh | |
6 | if test x"$NOCONFIGURE" = x; then | |
7 | run_configure=true | |
8 | for arg in $*; do | |
9 | case $arg in | |
10 | --no-configure) | |
11 | run_configure=false | |
12 | ;; | |
13 | *) | |
14 | ;; | |
15 | esac | |
16 | done | |
17 | else | |
18 | run_configure=false | |
19 | fi | |
15 | 20 | |
16 | 21 | if test $run_configure = true; then |
17 | 22 | ./configure "$@" |