telepathy-mission-control: build: honor NOCONFIGURE in autogen.sh
Simon McVittie
smcv at kemper.freedesktop.org
Thu Apr 4 08:48:32 PDT 2013
Module: telepathy-mission-control
Branch: master
Commit: 060e148bd71f3989861ab374dba89cc20278fcec
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=060e148bd71f3989861ab374dba89cc20278fcec
Author: Cosimo Cecchi <cosimoc at gnome.org>
Date: Thu Nov 15 12:04:30 2012 -0500
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 at collabora.co.uk>
---
autogen.sh | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 8c0315c..5c3d084 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"
More information about the telepathy-commits
mailing list