You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/07/22 07:29:56 UTC

[39/50] couchdb commit: updated refs/heads/developer-preview-2.0 to 2a31bca

add option to skip upadting erlang deps on ./configure


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/1ef7182a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/1ef7182a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/1ef7182a

Branch: refs/heads/developer-preview-2.0
Commit: 1ef7182ac10fc35bcdd17b437cf2544eb0b4e83c
Parents: f9a0db4
Author: Jan Lehnardt <ja...@apache.org>
Authored: Wed Jun 24 22:42:47 2015 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Wed Jun 24 23:07:49 2015 +0200

----------------------------------------------------------------------
 configure | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/1ef7182a/configure
----------------------------------------------------------------------
diff --git a/configure b/configure
index cbf55c8..b5d56e9 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