summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-06-24 18:42:23 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-06-24 18:42:23 +0100
commit276abd5ff84d635eb5f8cd3eee56978f75631722 (patch)
tree96349812d3198b347ae6ab279a13e4f048542764 /autogen.sh
parent1ff589c1e89cf9bb90f59a961c23f2ffa9c3dff0 (diff)
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 26e33cb71..1de819581 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -34,16 +34,21 @@ cd lib/ext/telepathy-yell
sh autogen.sh --no-configure
cd ../../..
-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 "$@"