[Pkg-telepathy-commits] [libnice] 07/265: autogen.sh: Honor NOCONFIGURE=1

Simon McVittie smcv at debian.org
Wed May 14 12:04:47 UTC 2014


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

smcv pushed a commit to branch debian
in repository libnice.

commit 14854e76470aa8022df8a5a070661cf4f15010a9
Author: Colin Walters <walters at verbum.org>
Date:   Wed Sep 4 09:12:33 2013 -0400

    autogen.sh: Honor NOCONFIGURE=1
    
    This is adapted from telepathy-logger's autogen.sh.  See
    http://people.gnome.org/~walters/docs/build-api.txt
    for rationale behind NOCONFIGURE=1.
---
 autogen.sh | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index d58c834..2f58146 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,16 +6,21 @@ gtkdocize || exit 1
 
 autoreconf -fi
 
-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/libnice.git



More information about the Pkg-telepathy-commits mailing list