[clutter-gst] autogen: Honour the NOCONFIGURE environment variable



commit 67ca826b6f855db396d98fede143a42b8369c1aa
Author: Neil Roberts <neil linux intel com>
Date:   Fri Oct 14 16:11:26 2011 +0100

    autogen: Honour the NOCONFIGURE environment variable
    
    Most autogen scripts don't run the configure step if there is a
    NOCONFIGURE environment variable. This is quite useful if you are
    trying to do an out-of-tree build.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661781

 autogen.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 13224af..d83f1c4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,6 @@
 #! /bin/sh
 gtkdocize || exit 1
 autoreconf -v --install || exit 1
-./configure "$@"
+if test -z "$NOCONFIGURE"; then
+    ./configure "$@" || exit 1
+fi



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