From e30a423519214cd899782fdbbeb92a7f45bd3d75 Mon Sep 17 00:00:00 2001 From: Noah Slater Date: Fri, 23 May 2008 21:54:12 +0000 Subject: 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 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3