Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3768FF6C for ; Wed, 27 Mar 2013 22:13:34 +0000 (UTC) Received: (qmail 70681 invoked by uid 500); 27 Mar 2013 22:13:34 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 70653 invoked by uid 500); 27 Mar 2013 22:13:34 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 70645 invoked by uid 99); 27 Mar 2013 22:13:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 22:13:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wendallc@83864.com designates 209.85.210.51 as permitted sender) Received: from [209.85.210.51] (HELO mail-da0-f51.google.com) (209.85.210.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 22:13:28 +0000 Received: by mail-da0-f51.google.com with SMTP id g27so4162318dan.38 for ; Wed, 27 Mar 2013 15:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=83864.com; s=google; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Jx31IeetVqyGQ/zkW4svVA1kouo5Dc0zG3keyDvhWQY=; b=BzEBBRO70EpLXaNZjiA1Zan3N4dq1G8Taph18uHHlOIYD0hobJ+W+LAx7GigXqlG3R NpmOp2iazVbI/fvb5Z8VuyZHqo5O2puiR3Y90IB+t0tOge0guTVkaPNhJNFZyuKGS83v CcOqHg3U4zbFTFM81+98j6hiXwzZPDrDpktwY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=Jx31IeetVqyGQ/zkW4svVA1kouo5Dc0zG3keyDvhWQY=; b=gGI9ePScFx6REK2Nk6SlnA5mNeXlHXW95hrSpyg0ENKatVk6zhPlC9NsmlQWSuqPvT PN4CEYtrXDTj7X5fl8higx3QMdn6nxSZJhf9SHcM1iMO346/zBvlaIZ+B/02EOxbcVF/ i/W/e9BgMPaPkYxymGxwWK09pcS+dCowi2u8zdXo5IiV5cohYA1lN7C/CM/+eYPTHsIB m3ygZL55kdsg8Ua0TQtA+q6jPoA7NVlKvCKZtrcWkBjGTxZyHOt8e0xU+3oG/KORr9NG cg11WphjTnnNk9Nx+Wg3TVWti4IwiMRi4ZwhkIpZKER6eFxGZ7K1sMHKNQTBLJW9ooCQ NYhQ== X-Received: by 10.66.6.42 with SMTP id x10mr32717777pax.218.1364422386928; Wed, 27 Mar 2013 15:13:06 -0700 (PDT) Received: from wlaptop.localdomain (c-67-170-132-85.hsd1.or.comcast.net. [67.170.132.85]) by mx.google.com with ESMTPS id gf1sm22855224pbc.24.2013.03.27.15.13.05 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 27 Mar 2013 15:13:05 -0700 (PDT) Sender: Wendall Cada Message-ID: <51536EF0.8020403@apache.org> Date: Wed, 27 Mar 2013 15:13:04 -0700 From: Wendall Cada User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: dev@couchdb.apache.org Subject: Re: git commit: updated refs/heads/master to 8d37911 References: <509c422095bc4194ae722394b85919e3@git.apache.org> In-Reply-To: <509c422095bc4194ae722394b85919e3@git.apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnHMqx/8FJRakXYhKmFsO8cDhLC7s2uS4LQY1ckYoNXf0wdIMBVbkUEs9+VKpbEPde8/RTm X-Virus-Checked: Checked by ClamAV on apache.org Looks good here as well. +1 merge to 1.3.0 Wendall On 03/27/2013 03:04 PM, wohali@apache.org wrote: > Updated Branches: > refs/heads/master e18f0bdb3 -> 8d379113e > > > Add upper bound check on Erlang ( > Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo > Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/8d379113 > Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/8d379113 > Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/8d379113 > > Branch: refs/heads/master > Commit: 8d379113eb6ce0300f56711aca274bb87d400dd0 > Parents: e18f0bd > Author: Joan Touzet > Authored: Wed Mar 27 17:52:27 2013 -0400 > Committer: Joan Touzet > Committed: Wed Mar 27 17:52:27 2013 -0400 > > ---------------------------------------------------------------------- > configure.ac | 25 +++++++++++++++---------- > 1 files changed, 15 insertions(+), 10 deletions(-) > ---------------------------------------------------------------------- > > > http://git-wip-us.apache.org/repos/asf/couchdb/blob/8d379113/configure.ac > ---------------------------------------------------------------------- > diff --git a/configure.ac b/configure.ac > index 91e2d3d..53e23f1 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -407,24 +407,29 @@ case "$(uname -s)" in > esac > > > -erlang_version_error="The installed Erlang version is less than 5.7.4 (R13B04)." > +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Erlang version compatibility" >&5 > +$as_echo_n "checking Erlang version compatibility... " >&6; } > +erlang_version_error="The installed Erlang version must be >= R13B04 (erts-5.7.4) and < R16A (erts-5.10)" > > -version="`${ERL} -version 2>&1 | ${SED} 's/[[^0-9]]/ /g'`" > +version="`${ERL} -version 2>&1 | ${SED} 's/[[^0-9]]/ /g'` 0 0 0" > +major_version=`echo $version | ${AWK} "{print \\$1}"` > +minor_version=`echo $version | ${AWK} "{print \\$2}"` > +patch_version=`echo $version | ${AWK} "{print \\$3}"` > > -if test `echo $version | ${AWK} "{print \\$1}"` -lt 5; then > - AC_MSG_ERROR([$erlang_version_error]) > +if test $major_version -ne 5; then > + as_fn_error $? "$erlang_version_error" "$LINENO" 5 > fi > > -if test `echo $version | ${AWK} "{print \\$2}"` -lt 7; then > - AC_MSG_ERROR([$erlang_version_error]) > +if test $minor_version -lt 7 -o $minor_version -gt 9; then > + as_fn_error $? "$erlang_version_error" "$LINENO" 5 > fi > > -if test `echo $version | ${AWK} "{print \\$2}"` -eq 7; then > - if test `echo $version | ${AWK} "{print \\$3}"` -lt 4; then > - AC_MSG_ERROR([$erlang_version_error]) > - fi > +if test $minor_version -eq 7 -a $patch_version -lt 4; then > + as_fn_error $? "$erlang_version_error" "$LINENO" 5 > fi > > +AC_MSG_RESULT(compatible) > + > otp_release="`\ > ${ERL} -noshell \ > -eval 'io:put_chars(erlang:system_info(otp_release)).' \ >