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
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 "$@"
......
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