diff options
Diffstat (limited to 'configure.ml')
| -rw-r--r-- | configure.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ml b/configure.ml index 68674805bc..e62ce3f2fa 100644 --- a/configure.ml +++ b/configure.ml @@ -566,7 +566,7 @@ let check_camlp5_version () = let version_line, _ = run ~err:StdOut camlexec.p4 ["-v"] in let version = List.nth (string_split ' ' version_line) 2 in match string_split '.' version with - | major::minor::_ when (s2i major, s2i minor) >= (5,1) -> + | major::minor::_ when s2i major > 5 || (s2i major, s2i minor) >= (5,1) -> printf "You have Camlp5 %s. Good!\n" version | _ -> failwith "bad version" with _ -> die "Error: unsupported Camlp5 (version < 5.01 or unrecognized).\n" |
