summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-06-24 11:07:55 -0400
committerWill Thompson <will.thompson@collabora.co.uk>2011-06-24 19:34:25 +0100
commit285aa26d6c222c9d91f8cc770cd4bfdab5854bab (patch)
treeffde343cef94f48e87b9b660febb9fe316de6364 /autogen.sh
parent750c00f6f54d6219a462953cfe4cfc0a6795993b (diff)
downloadtelepathy-glib-285aa26d6c222c9d91f8cc770cd4bfdab5854bab.tar.gz
Honor NOCONFIGURE for compatibility with gnome-autogen.sh
See also: http://people.gnome.org/~walters/docs/build-api.txt
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh25
1 files changed, 15 insertions, 10 deletions
diff --git a/autogen.sh b/autogen.sh
index 939aa7d8e..3184e69a7 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,16 +18,21 @@ fi
autoreconf -i -f
-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 "$@"