summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-08-01 12:59:32 -0400
committerColin Walters <walters@verbum.org>2011-08-01 14:11:45 -0400
commit4b78d66da86801acdb5044a82dce5f1422f06cd3 (patch)
tree39c52249500e3471196005693ceeae1009661ea5 /autogen.sh
parent33a77c860593083cdbc55bf25633c41f59e77c16 (diff)
downloaddbus-4b78d66da86801acdb5044a82dce5f1422f06cd3.tar.gz
autogen.sh: Don't run configure if NOCONFIGURE is set
See http://people.gnome.org/~walters/docs/build-api.txt
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index f722e94d..d139fa47 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -85,8 +85,9 @@ autoconf || echo "autoconf failed - version 2.5x is probably required"
cd $ORIGDIR
-run_configure=true
-for arg in $*; do
+if test x"$NOCONFIGURE" = x; then
+ run_configure=true
+ for arg in $*; do
case $arg in
--no-configure)
run_configure=false
@@ -94,7 +95,10 @@ for arg in $*; do
*)
;;
esac
-done
+ done
+else
+ run_configure=false
+fi
if $run_configure; then
$srcdir/configure --enable-maintainer-mode --config-cache "$@"