aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Dénès2016-05-26 11:36:23 +0200
committerMaxime Dénès2016-05-26 11:36:23 +0200
commitb445ebb0f511ab3be11d602fe091a0bc5f1ad883 (patch)
tree0296372e6a86d05def8912313103639af8b99e45
parent16e1a879264b91cacf07635af39e2e710e1d6d53 (diff)
Update required OCaml version in configure.
Follow-up on Hugo's 1412f9f9.
-rw-r--r--INSTALL.ide2
-rw-r--r--configure.ml4
2 files changed, 3 insertions, 3 deletions
diff --git a/INSTALL.ide b/INSTALL.ide
index b651e77db4..cb7ca325f7 100644
--- a/INSTALL.ide
+++ b/INSTALL.ide
@@ -22,7 +22,7 @@ Else, read the rest of this document to compile your own CoqIde.
COMPILATION REQUIREMENTS
-- OCaml >= 3.12.1 with native threads support.
+- OCaml >= 4.01 with native threads support.
- make world must succeed.
- The graphical toolkit GTK+ 2.x. See http://www.gtk.org.
The official supported version is at least 2.24.x.
diff --git a/configure.ml b/configure.ml
index 6adaa45db7..ade43810b2 100644
--- a/configure.ml
+++ b/configure.ml
@@ -474,7 +474,7 @@ let caml_version_nums =
"Is it installed properly?")
let check_caml_version () =
- if caml_version_nums >= [3;12;1] then
+ if caml_version_nums >= [4;1;0] then
if caml_version_nums = [4;2;0] && not !Prefs.force_caml_version then
die ("Your version of OCaml is 4.02.0 which suffers from a bug inducing\n" ^
"very slow compilation times. If you still want to use it, use \n" ^
@@ -486,7 +486,7 @@ let check_caml_version () =
if !Prefs.force_caml_version then
printf "*Warning* Your version of OCaml is outdated.\n"
else
- die "You need OCaml 3.12.1 or later."
+ die "You need OCaml 4.01 or later."
let _ = check_caml_version ()