diff options
author | Noah Slater <nslater@apache.org> | 2008-05-23 21:54:12 +0000 |
---|---|---|
committer | Noah Slater <nslater@apache.org> | 2008-05-23 21:54:12 +0000 |
commit | e30a423519214cd899782fdbbeb92a7f45bd3d75 (patch) | |
tree | 668d4db2fb45eeecdf6c1d1a75d99cc616d3aa15 | |
parent | 2d2c585d756d21231249909fb014f69da27e4edb (diff) |
configure now checks for installed Erlang version
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659681 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 30d783cf..3f72954e 100644 --- a/configure.ac +++ b/configure.ac @@ -104,6 +104,10 @@ if test x${ERL} = x; then AC_MSG_ERROR([Could not find the `erl' executable. Is Erlang installed?]) fi +if test $(${ERL} -version 2>&1 | sed "s/[[^0-9]]//g") -le 560; then + AC_MSG_ERROR([The installed Erlang version is less than 5.6.0 (R12B).]) +fi + AC_PATH_PROG([ERLC], [erlc]) if test x${ERLC} = x; then |