diff options
author | Randall Leeds <randall@apache.org> | 2011-06-08 07:53:55 +0000 |
---|---|---|
committer | Randall Leeds <randall@apache.org> | 2011-06-08 07:53:55 +0000 |
commit | ea57780780730eb5f2d98f30697e6a8c2b3cf7f7 (patch) | |
tree | ead08c2be8efadce9d7cbc6d6d254ac0f32030bb /configure.ac | |
parent | cee8283b7e0e5d6c330398f9b6d9ffe5ebc4fe9a (diff) |
bump minimum erlang to R13B02 (COUCHDB-1191)
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1133272 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index b776a258..0cc277a4 100644 --- a/configure.ac +++ b/configure.ac @@ -241,7 +241,7 @@ if test x${ERL} = x; then AC_MSG_ERROR([Could not find the `erl' executable. Is Erlang installed?]) fi -erlang_version_error="The installed Erlang version is less than 5.6.5 (R12B05)." +erlang_version_error="The installed Erlang version is less than erts-5.7.3 (R13B02)." version="`${ERL} -version 2>&1 | ${SED} "s/[[^0-9]]/ /g"`" @@ -249,12 +249,12 @@ if test `echo $version | ${AWK} "{print \\$1}"` -lt 5; then AC_MSG_ERROR([$erlang_version_error]) fi -if test `echo $version | ${AWK} "{print \\$2}"` -lt 6; then +if test `echo $version | ${AWK} "{print \\$2}"` -lt 7; then AC_MSG_ERROR([$erlang_version_error]) fi -if test `echo $version | ${AWK} "{print \\$2}"` -eq 6; then - if test `echo $version | ${AWK} "{print \\$3}"` -lt 5; then +if test `echo $version | ${AWK} "{print \\$2}"` -eq 7; then + if test `echo $version | ${AWK} "{print \\$3}"` -lt 3; then AC_MSG_ERROR([$erlang_version_error]) fi fi |