[Pkg-telepathy-commits] [telepathy-idle] 14/26: autogen: Honor NOCONFIGURE=1

Simon McVittie smcv at debian.org
Thu Apr 3 17:49:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-idle.

commit 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 file 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 "$@"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-idle.git



More information about the Pkg-telepathy-commits mailing list