This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
Patch privided by PR 39348.
Changes:
2008-05-06: Fixed build problem with newer versions of PCRE.
2008-03-14: Synced with Jane Street tree.
2008-01-25: Added new function:
* names
This function returns the names of all named substrings in a
regular expression.
Thanks to Benedikt Grundmann <bgrundmann@janestcapital.com>
for the patch!
2007-07-12: Improved build scripts for Windows.
Thanks to Christophe Troestler
<Christophe.Troestler@umh.ac.be> for the patch!
2007-07-12: Improved documentation for Win32 builds, and added some build
scripts usable on Windows.
Thanks to Christophe Troestler
<Christophe.Troestler@umh.ac.be> for this contribution!
2007-04-23: callback_exn -> caml_callback_exn.
Updated OCamlMakefile.
This OCaml-library interfaces the PCRE (Perl-compatible regular
expressions) library which is written in C. it can be used for matching
regular expressions which are written in "Perl"-style.