summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2011-10-14 16:11:26 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2011-10-27 16:33:20 +0100
commit67ca826b6f855db396d98fede143a42b8369c1aa (patch)
treeb809f955818550c3b1513ce0a6b174c89ed61bc3 /autogen.sh
parent49d5c341acc7447b760f90960f7bdc905380f210 (diff)
downloadclutter-gst-67ca826b6f855db396d98fede143a42b8369c1aa.tar.gz
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
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
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