Commit 14854e76 authored by Colin Walters's avatar Colin Walters Committed by Olivier Crête

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.
parent 4df1b7d6
...@@ -6,8 +6,10 @@ gtkdocize || exit 1 ...@@ -6,8 +6,10 @@ gtkdocize || exit 1
autoreconf -fi autoreconf -fi
run_configure=true # Honor NOCONFIGURE for compatibility with gnome-autogen.sh
for arg in $*; do if test x"$NOCONFIGURE" = x; then
run_configure=true
for arg in $*; do
case $arg in case $arg in
--no-configure) --no-configure)
run_configure=false run_configure=false
...@@ -15,7 +17,10 @@ for arg in $*; do ...@@ -15,7 +17,10 @@ for arg in $*; do
*) *)
;; ;;
esac esac
done done
else
run_configure=false
fi
if test $run_configure = true; then if test $run_configure = true; then
./configure "$@" ./configure "$@"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment