]> git.ipfire.org Git - thirdparty/libtool.git/commit
bootstrap: split into reusable parts.
authorGary V. Vaughan <gary@gnu.org>
Thu, 3 Nov 2011 08:23:45 +0000 (15:23 +0700)
committerGary V. Vaughan <gary@gnu.org>
Tue, 8 Nov 2011 13:38:27 +0000 (20:38 +0700)
commitd5393524f6f01ba02d7b61800288070184335960
treec89169a9148d9547e01c755eeb68e6c856f1ee3d
parent0569ec6cd2df2b10136e5701411961b83142d567
bootstrap: split into reusable parts.

* bootstrap: Bourne shell has no scoping, so be extremely
careful with namespaces, functions in `^func_' and `^require_';
private variables in `^_G_', and public variables all well
documented by comments.
* libltdl/config/extract-trace: New file, containing the minimum
of code previously in bootstrap plus a little glue to make the
GNU M4 based autotools tracing function (as opposed to the
kludgy sed extraction currently used everywhere else) a
standalone script that can be executed or sourced.
* libltdl/config/options-parser: New file, containing the
pluggable options parser code shared between the other two.
* bootstrap.conf: Adjust.
* Makefile.am (EXTRA_DIST): Be sure to distribute the new
extract-trace and options-parser scripts.
(install-data-local): And install them where libtoolize can find
them.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Makefile.am
bootstrap
bootstrap.conf
libltdl/config/extract-trace [new file with mode: 0755]
libltdl/config/options-parser [new file with mode: 0644]