summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-11-15 12:04:30 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2012-11-16 11:33:24 -0500
commit060e148bd71f3989861ab374dba89cc20278fcec (patch)
tree78858e8cebcce3730c8188a85cc06d39b70c0545
parent847e2b950aa18d530dc0f32b58e8bb11a1658039 (diff)
downloadtelepathy-mission-control-060e148bd71f3989861ab374dba89cc20278fcec.tar.gz
build: honor NOCONFIGURE in autogen.sh
Like telepathy-glib does already. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57165 Reviewed-By: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rwxr-xr-xautogen.sh25
1 files changed, 15 insertions, 10 deletions
diff --git a/autogen.sh b/autogen.sh
index 8c0315cc..5c3d0843 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -20,16 +20,21 @@ fi
echo 'Running autoreconf -i --force'
autoreconf -i --force
-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
default_args="--enable-gtk-doc --enable-mcd-plugins --enable-gnome-keyring=auto"