summaryrefslogtreecommitdiff
path: root/build-aux/ocaml_version.m4
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2021-09-29 17:21:52 +0200
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2021-10-11 19:12:45 +0200
commit1acc501adcfb1eb8d3d77b714c5f5f48dea045e7 (patch)
treea6a134f851f3b12f4d26ed0ebbd467f3124ef97f /build-aux/ocaml_version.m4
parent05f1d2ef96777f294c536c2e62ae535daf858bcc (diff)
downloadocaml-1acc501adcfb1eb8d3d77b714c5f5f48dea045e7.tar.gz
Add a macro to explicitly control whether this is a dev version or not
Diffstat (limited to 'build-aux/ocaml_version.m4')
-rw-r--r--build-aux/ocaml_version.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/build-aux/ocaml_version.m4 b/build-aux/ocaml_version.m4
index 04915ae6e9..fc33d15b94 100644
--- a/build-aux/ocaml_version.m4
+++ b/build-aux/ocaml_version.m4
@@ -17,11 +17,16 @@
# OCaml. It first defines the basic components and then computes all
# the different variants of the version used across the build system.
-# For the M4 macros defined below, we use the OCAML__VERSION (with a double
+# For the M4 macros defined below, we use the OCAML__ (with a double
# underscore) to distinguish them from the C preprocessor macros which
# use a single underscore, since the two families of macros coexist
# in configure.ac.
+# The following macro, OCAML__DEVELOPMENT_VERSION, should be either
+# [true] of [false].
+
+m4_define([OCAML__DEVELOPMENT_VERSION], [true])
+
# The three following components (major, minor and patch level) MUST be
# integers. They MUST NOT be left-padded with zeros and all of them,
# including the patchlevel, are mandatory.