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,16 +6,21 @@ gtkdocize || exit 1 ...@@ -6,16 +6,21 @@ 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
case $arg in run_configure=true
--no-configure) for arg in $*; do
run_configure=false case $arg in
;; --no-configure)
*) run_configure=false
;; ;;
esac *)
done ;;
esac
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