From: Stephane Glondu <steph@glondu.net>
Date: Tue, 18 May 2010 17:54:37 +0200
Subject: [PATCH] Make OCaml version requirement a lower bound
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 9a7fa2b..fcd9393 100755
--- a/configure
+++ b/configure
@@ -552,7 +552,7 @@ then
ocamlv=`$ocaml_bin/ocaml -version | sed -e 's/.*version //g'`
ocaml_major_version=`echo ${ocamlv} | sed -e 's/\.[0-9]$//g'`
- if [ "${ocaml_major_version}" != "${ocaml_version}" ]
+ if [ "${ocaml_major_version}" \< "${ocaml_version}" ]
then
echo "ERROR: Expected OCaml major version ${ocaml_version}, found ${ocaml_major_version}"
exit 1
--