diff options
author | Colin Walters <walters@verbum.org> | 2013-09-04 09:12:33 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-09-04 19:22:21 -0400 |
commit | 14854e76470aa8022df8a5a070661cf4f15010a9 (patch) | |
tree | e86c36bf80979592529aa0bd9e3782ddd276a79f /autogen.sh | |
parent | 4df1b7d6db7303f21953e3349e226238bcfd74dc (diff) | |
download | libnice-14854e76470aa8022df8a5a070661cf4f15010a9.tar.gz |
autogen.sh: Honor NOCONFIGURE=1
This is adapted from telepathy-logger's autogen.sh. See
http://people.gnome.org/~walters/docs/build-api.txt
for rationale behind NOCONFIGURE=1.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 25 |
1 files changed, 15 insertions, 10 deletions
@@ -6,16 +6,21 @@ gtkdocize || exit 1 autoreconf -fi -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 "$@" |