diff options
author | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2021-10-08 12:30:41 +0200 |
---|---|---|
committer | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2021-10-11 19:12:45 +0200 |
commit | 41cac4b5ce16644da579f1631e4a395d58a82225 (patch) | |
tree | e7717551c0118e357c5ef87d0ee8592047d16eba /build-aux | |
parent | 0239407657e96bec01a6daaee5f5b777c7a7ea62 (diff) | |
download | ocaml-41cac4b5ce16644da579f1631e4a395d58a82225.tar.gz |
Add detailed information about the current version of OCaml to the Sys module
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/ocaml_version.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build-aux/ocaml_version.m4 b/build-aux/ocaml_version.m4 index fc33d15b94..7c5df90beb 100644 --- a/build-aux/ocaml_version.m4 +++ b/build-aux/ocaml_version.m4 @@ -83,3 +83,8 @@ m4_define([OCAML__VERSION_NUMBER], OCAML__VERSION_MAJOR, OCAML__VERSION_MINOR, OCAML__VERSION_PATCHLEVEL)]) + +m4_define([OCAML__RELEASE_EXTRA], + m4_if(OCAML__VERSION_EXTRA,[],[None], + ['Some (]m4_if(OCAML__VERSION_EXTRA_PREFIX,+,[Plus], + [Tilde])[, "]OCAML__VERSION_EXTRA[")']))])) |