summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2015-06-24 22:42:47 +0200
committerJan Lehnardt <jan@apache.org>2015-06-24 23:07:49 +0200
commit1ef7182ac10fc35bcdd17b437cf2544eb0b4e83c (patch)
tree99f5dfdc446488cd425e2540f9e18d054c1403ba
parentf9a0db420fecc85e38b61f9fd8a48f4848e86da8 (diff)
downloadcouchdb-1ef7182ac10fc35bcdd17b437cf2544eb0b4e83c.tar.gz
add option to skip upadting erlang deps on ./configure
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index cbf55c816..b5d56e9b1 100755
--- a/configure
+++ b/configure
@@ -21,6 +21,7 @@ TEST=0
WITH_CURL="false"
WITH_FAUXTON=1
WITH_DOCS=1
+SKIP_DEPS=0
PREFIX=
DEFAULT_PREFIX=/usr/local
@@ -64,6 +65,7 @@ Options:
-c | --with-curl request that couchjs is linked to cURL (default false)
--disable-fauxton do not build Fauxton
--disable-docs do not build any documentation or manpages
+ --skip-deps do not update erlang dependencies
Installation directories:
@@ -122,6 +124,12 @@ parse_opts() {
continue
;;
+ --skip-deps)
+ SKIP_DEPS=1
+ shift
+ continue
+ ;;
+
--user|-u)
if [ -n "$2" ]; then
eval COUCHDB_USER=$2
@@ -625,7 +633,7 @@ EOF
# only update dependencies, when we are not in a release tarball
-if [ -d .git ]; then
+if [ -d .git -a $SKIP_DEPS -ne 1 ]; then
echo "==> updating dependencies"
rebar get-deps update-deps
fi