diff options
| author | Pierre-Marie Pédrot | 2018-11-06 15:46:00 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2018-11-07 13:55:13 +0100 |
| commit | 1b1fecbb38ac8fc77750daf863b47c8dfc49ed41 (patch) | |
| tree | a0234da4d2ba5e26a76c237b38adb630a79a2e32 /configure.ml | |
| parent | 14c55444b3bd574f77b4443916c55f8f102414b6 (diff) | |
Bump up the minimal camlp5 version to 7.06.
This is the first release that contains the type-safe grammar 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 |
