telepathy-idle: autogen: Honor NOCONFIGURE=1

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Fri Sep 13 03:19:33 PDT 2013


Module: telepathy-idle
Branch: master
Commit: 2b01622f523b7874afa6fb7bbda440d8e05e0e85
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=2b01622f523b7874afa6fb7bbda440d8e05e0e85

Author: Colin Walters <walters at verbum.org>
Date:   Thu Sep 12 23:09:57 2013 -0400

autogen: Honor NOCONFIGURE=1

See http://people.gnome.org/~walters/docs/build-api.txt

---

 autogen.sh |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index c238256..381e32f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,16 +3,21 @@ set -e
 
 autoreconf -i -Wno-portability
 
-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 "$@"



More information about the telepathy-commits mailing list