[folks] autogen.sh: Honor NOCONFIGURE=1



commit 555d2d05f103dc48056a2f83521128c567c3159d
Author: Colin Walters <walters verbum org>
Date:   Thu Jan 19 15:38:35 2012 -0500

    autogen.sh: Honor NOCONFIGURE=1
    
    See http://people.gnome.org/~walters/docs/build-api.txt

 autogen.sh |   24 ++++++++++++++----------
 1 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 68d1f59..b3b63b1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -17,16 +17,20 @@ fi
 autoreconf -i -f
 intltoolize --force --copy --automake
 
-run_configure=true
-for arg in $*; do
-    case $arg in
-        --no-configure)
-            run_configure=false
-            ;;
-        *)
-            ;;
-    esac
-done
+if test -z "$NOCONFIGURE"; 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 "$@"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]