aboutsummaryrefslogtreecommitdiff
path: root/configure.ml
diff options
context:
space:
mode:
authorcoqbot-app[bot]2020-09-17 16:16:39 +0000
committerGitHub2020-09-17 16:16:39 +0000
commit08791151b904e499cdca26cec4b8aa7c9b1eb4c0 (patch)
tree583b907530ea9c77bdec3d1bf11488f7ef5d00c1 /configure.ml
parent14f0e5059e7f49cabbcd1571d7f053db7d7d3f35 (diff)
parent29b8aae282f03fcd7d753d19129e5f74feacc820 (diff)
Merge PR #13007: [build] Don't link `num` anymore in Coq
Reviewed-by: Zimmi48 Reviewed-by: vbgl Ack-by: Zimmi48 Ack-by: vbgl
Diffstat (limited to 'configure.ml')
-rw-r--r--configure.ml15
1 files changed, 4 insertions, 11 deletions
diff --git a/configure.ml b/configure.ml
index 2dbc01651e..43c55af495 100644
--- a/configure.ml
+++ b/configure.ml
@@ -688,23 +688,16 @@ let operating_system =
else
(try Sys.getenv "OS" with Not_found -> "")
-(** Zarith and num libraries *)
-
-let check_for_numlib () =
- (if caml_version_nums >= [4;6;0] then
- let numlib,_ = tryrun camlexec.find ["query";"num"] in
- match numlib with
- | "" ->
- die "Num library not installed, required for OCaml 4.06 or later"
- | _ -> cprintf "You have the Num library installed. Good!");
+(** Zarith library *)
+
+let check_for_zarith () =
let zarith,_ = tryrun camlexec.find ["query";"zarith"] in
match zarith with
| "" ->
die "Zarith library not installed, required"
| _ -> cprintf "You have the Zarith library installed. Good!"
-let numlib =
- check_for_numlib ()
+let numlib = check_for_zarith ()
(** * lablgtk3 and CoqIDE *)