Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5c36813
configure: Windows doesn't define nice (for process priority)
MisterDA Jan 4, 2025
398192e
configure: fix search for libraries defining functions with cl
MisterDA Jan 6, 2025
48180ec
configure: SetFileTime is used instead of _utime on Windows
MisterDA Jan 6, 2025
62a3b0b
configure: cache mmap MAP_STACK detection
MisterDA Jun 21, 2024
c1a06cc
configure: cache more results from aclocal.m4
MisterDA Jun 24, 2024
35aa99f
configure: cache diff flags probing
MisterDA Sep 24, 2024
d45288a
configure: factorize code checking if C99 float operations work
MisterDA Sep 25, 2024
c3c5971
configure: cache whether as supports --debug-prefix-map
MisterDA Jul 8, 2024
05ec8c1
configure: cache whether as supports CFI directives
MisterDA Nov 25, 2024
89514dd
configure: rework and cache C11 atomics CFLAGS detection
MisterDA Sep 26, 2024
e099d51
Merge remote-tracking branches 'MisterDA/configure-caches' and 'Miste…
MisterDA Feb 24, 2025
af59318
configure: use AC_CHECK_HEADERS_ONCE
MisterDA May 22, 2024
f4888ce
configure: use AC_CHECK_HEADERS
MisterDA May 22, 2024
8544813
configure: use AC_CHECK_FUNCS_ONCE
MisterDA May 22, 2024
34a557b
configure: more AC_CHECK_FUNCS and AC_CHECK_HEADERS
MisterDA May 22, 2024
e982ebf
configure: even more AC_CHECK_FUNCS
MisterDA May 23, 2024
7f1cd49
configure: use AC_CHECK_TYPES
MisterDA May 24, 2024
b300da9
configure: check for SetThreadDescription on native Windows only
MisterDA Dec 31, 2024
d12aa82
Use Autoconf SIZEOF_LONG_{P,_LONG} instead of SIZEOF_{PTR,LONGLONG}
MisterDA May 24, 2024
8a62d92
Prefer Autoconf's default WORDS_BIGENDIAN name
MisterDA Jul 8, 2024
7913af3
Move non-generated macros to compatibility.h
MisterDA Jul 8, 2024
ae8c17d
configure: single AC_DEFINE per macro
MisterDA Jun 21, 2024
1812e10
Use autoheader to generate the configuration header
MisterDA Nov 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ META
/config.log
/config.status
/configure~
/runtime/caml/config.h.in~
/flexlink.opt
/libtool
/ocamlc.opt
Expand Down Expand Up @@ -235,8 +236,7 @@ META

/runtime/domain_state.inc
/runtime/caml/jumptbl.h
/runtime/caml/m.h
/runtime/caml/s.h
/runtime/caml/config.h
/runtime/primitives
/runtime/primitives*.new
/runtime/prims.c
Expand Down
7 changes: 3 additions & 4 deletions INSTALL.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ From the top directory, do:

./configure

This generates the three configuration files `Makefile.config`,
`runtime/caml/m.h` and `runtime/caml/s.h`.
This generates the two configuration files `Makefile.config`,
`runtime/caml/config.h`.

The `configure` script accepts options that can be discovered by running:

Expand Down Expand Up @@ -95,8 +95,7 @@ files cause errors later on, then look at the template files:

Makefile.config.in
Makefile.build_config.in
runtime/caml/m.h.in
runtime/caml/s.h.in
runtime/caml/config.h.in
+
for guidance on how to edit the generated files by hand.

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ runtime_NATIVE_C_SOURCES = \

## Header files generated by configure
runtime_CONFIGURED_HEADERS = \
$(addprefix runtime/caml/, exec.h m.h s.h version.h)
$(addprefix runtime/caml/, exec.h config.h version.h)

## Header files generated by make
runtime_BUILT_HEADERS = $(addprefix runtime/, \
Expand Down
3 changes: 0 additions & 3 deletions Makefile.config.in
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ ARCH=@arch@
# Whether the architecture has 64 bits
ARCH64=@arch64@

# Endianness for this architecture
ENDIANNESS=@endianness@

### Name of architecture model for the native-code compiler.
### Some architectures come in several slightly different flavors
### that share a common code generator. This variable tailors the
Expand Down
Loading
Loading