From 858cb9fed9a6300a2994c6b67481b4d2fae175ee Mon Sep 17 00:00:00 2001 From: Rudy Sicard Date: Wed, 26 Sep 2012 14:53:36 +0200 Subject: [PATCH] [fix] configure,ocaml,version: really (thx radare) accept any version superior to 3 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 8c688717..d4fb780c 100755 --- a/configure +++ b/configure @@ -230,7 +230,7 @@ OCAML_VERSION=$($OCAMLOPT -version) OCAML_VERSION_MAJOR=${OCAML_VERSION%%.*} OCAML_VERSION_MIDDLE=${OCAML_VERSION%.*} OCAML_VERSION_MIDDLE=${OCAML_VERSION_MIDDLE#*.} -if [ $OCAML_VERSION_MAJOR -gt 3 ] || [ $OCAML_VERSION_MAJOR -eq 3 ] && [ $OCAML_VERSION_MIDDLE -ge 12 ]; then +if [ $OCAML_VERSION_MAJOR -eq 3 ] && [ $OCAML_VERSION_MIDDLE -ge 12 ] || [ $OCAML_VERSION_MAJOR -gt 3 ]; then echo-ok $OCAML_VERSION else echo-err $OCAML_VERSION