Commit Graph

10 Commits (475df06021264b22cf425500fe2503a06c38ba6f)

Author SHA1 Message Date
David Allsopp 345fd4c3f9 Allow Git config options to be passed to configure
The Git configuration value ocaml.configure is now passed to the
configure script's arguments before $@ if (and only if) OCaml is being
configured from a Git clone.

This allows, for example:

- Developer-specific preferences (e.g. `--disable-ocamldoc` or
  `--disable-debug-runtime`)
- Automatic use of autoconf cach files (-C option)

It is implemented by inserting a test at the top of `configure`, which
is bypassed if `.git` doesn't exist.
2019-10-05 14:50:35 +01:00
Sébastien Hinderer 5ea042524d autogen: fix typo in previous commit 2019-07-18 15:04:50 +02:00
Sébastien Hinderer fecc09b8a7 autogen: remove the autom4te.cache directory before proceeding 2019-07-18 14:53:51 +02:00
David Allsopp 64af50cfe2 Remove GNUism from autogen
Relative addressing is a GNU sed extension.
2019-05-01 10:05:29 +01:00
David Allsopp b6ecc2d72a Eliminate use of -i in autogen
-i without writing a backup is not portable.
2019-05-01 10:05:10 +01:00
David Allsopp d075c7ac3e Force autoconf to run 2019-05-01 10:03:24 +01:00
David Allsopp 6c87f5e391 Use AC_PREREQ to force Autoconf 2.69 2019-06-11 09:56:01 +02:00
David Allsopp c78923f179 Remove --runstatedir from configure 2019-04-02 16:35:36 +01:00
David Allsopp 1a7da65d8d Check that autoconf is 2.69 2019-04-02 16:35:36 +01:00
Sébastien Hinderer cc3f70b705 Use autoconf to generate the compiler's configuration script 2018-12-21 16:02:47 +01:00