Skip to content

Commit

Permalink
[fix] configure,ocaml,version: really (thx radare) accept any version…
Browse files Browse the repository at this point in the history
… superior to 3
  • Loading branch information
OpaOnWindowsNow committed Sep 26, 2012
1 parent d13b6e8 commit 858cb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -230,7 +230,7 @@ OCAML_VERSION=$($OCAMLOPT -version)
OCAML_VERSION_MAJOR=${OCAML_VERSION%%.*} OCAML_VERSION_MAJOR=${OCAML_VERSION%%.*}
OCAML_VERSION_MIDDLE=${OCAML_VERSION%.*} OCAML_VERSION_MIDDLE=${OCAML_VERSION%.*}
OCAML_VERSION_MIDDLE=${OCAML_VERSION_MIDDLE#*.} 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 echo-ok $OCAML_VERSION
else else
echo-err $OCAML_VERSION echo-err $OCAML_VERSION
Expand Down

0 comments on commit 858cb9f

Please sign in to comment.