aboutsummaryrefslogtreecommitdiff
path: root/configure.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-07-05 15:01:26 +0200
committerGaëtan Gilbert2019-08-24 12:11:54 +0200
commit3083b2dcd9da8108df8118be2bc87f955311d2bd (patch)
tree1a0d3fce208d87aff0c7e160d301aa4386f1a099 /configure.ml
parent07c4c8cac353883a2c6ae493556b9b544f3f38c0 (diff)
Simplify picking between uint63_63.ml and uint63_31.ml
- remove the architecture component (we don't do anything arch-specific so it was just a rewording of int_size) - have configure tell the make build system about int_size instead of reimplementing cp As a bonus, add the copyright header to uint63.mli.
Diffstat (limited to 'configure.ml')
-rw-r--r--configure.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ml b/configure.ml
index 3ced82718e..cef4faaf1a 100644
--- a/configure.ml
+++ b/configure.ml
@@ -1141,6 +1141,7 @@ let write_makefile f =
pr "# Your architecture\n";
pr "# Can be obtain by UNIX command arch\n";
pr "ARCH=%s\n" arch;
+ pr "OCAML_INT_SIZE:=%d\n" Sys.int_size;
pr "HASNATDYNLINK=%s\n\n" natdynlinkflag;
pr "# Supplementary libs for some systems, currently:\n";
pr "# . Sun Solaris: -cclib -lunix -cclib -lnsl -cclib -lsocket\n";