diff options
| author | Emilio Jesus Gallego Arias | 2018-11-07 21:29:22 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-11-07 21:29:22 +0100 |
| commit | c4880effb91fab55c250a799cbceac9b04681db0 (patch) | |
| tree | b24b9cc0298bf7597d9f75c6fa1fb5f2739b0034 /configure.ml | |
| parent | 65927c22bcad62e1bc9a28a57377d82eba215a2d (diff) | |
| parent | 790a6967d5d5ed0592b7c54069094524094199bc (diff) | |
Merge PR #8923: Bump camlp5 minimal version and use its safe API.
Diffstat (limited to 'configure.ml')
| -rw-r--r-- | configure.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ml b/configure.ml index 39c65683ff..14c1f38a95 100644 --- a/configure.ml +++ b/configure.ml @@ -709,9 +709,9 @@ let check_camlp5_version camlp5o = let version_line, _ = run ~err:StdOut camlp5o ["-v"] in let version = List.nth (string_split ' ' version_line) 2 in match numeric_prefix_list version with - | major::minor::_ when s2i major > 6 || (s2i major, s2i minor) >= (6,6) -> + | major::minor::_ when s2i major > 7 || (s2i major, s2i minor) >= (7,6) -> cprintf "You have Camlp5 %s. Good!" version; version - | _ -> die "Error: unsupported Camlp5 (version < 6.06 or unrecognized).\n" + | _ -> die "Error: unsupported Camlp5 (version < 7.06 or unrecognized).\n" let config_camlp5 () = let camlp5mod = "gramlib" in |
