summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2014-04-18 10:00:42 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2014-04-18 10:00:42 +0000
commitdd17af8b4342a8255173ebda7102e50de1bd2ec9 (patch)
tree0e7a44b48da0fb67024b3cb8e45caf2d0f98267d /configure
parent86bd9990f46272873db0d5f897201324279a355c (diff)
downloadocaml-dd17af8b4342a8255173ebda7102e50de1bd2ec9.tar.gz
Simpler variant of commit r14635:
- configure: no change necessary - byterun/config.h: make sure ARCH_INT64_TYPE and related macros are always defined, for Coq and others to use. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 0 insertions, 13 deletions
diff --git a/configure b/configure
index 995b43a540..f2d312d558 100755
--- a/configure
+++ b/configure
@@ -529,19 +529,6 @@ echo "#define SIZEOF_PTR $3" >> m.h
echo "#define SIZEOF_SHORT $4" >> m.h
echo "#define SIZEOF_LONGLONG $5" >> m.h
-# Temporary fix: some OCaml programs, e.g. Coq, assume that
-# ARCH_INT64_TYPE is defined in config/m.h. Put a definition
-# there, even if it duplicates the logic present in config.h
-if test $5 = 8; then
- echo '#define ARCH_INT64_TYPE long long' >> m.h
- echo '#define ARCH_UINT64_TYPE unsigned long long' >> m.h
- echo '#define ARCH_INT64_PRINTF_FORMAT "ll"' >> m.h
-else
- echo '#define ARCH_INT64_TYPE long' >> m.h
- echo '#define ARCH_UINT64_TYPE unsigned long' >> m.h
- echo '#define ARCH_INT64_PRINTF_FORMAT "l"' >> m.h
-fi
-
# Determine endianness
sh ./runtest endian.c