libtoolize: source extract-trace rather than fork and execute each call.
commit2a43c87092aff0e133282b089b7cda0c4de17728
authorGary V. Vaughan <gary@gnu.org>
Sun, 7 Oct 2012 15:32:18 +0000 (7 22:32 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 12 Oct 2012 11:36:38 +0000 (12 18:36 +0700)
tree4ed5bc09ef998f6f6884a4311bd4d677ca26c5d1
parent125eb722e4793a1e080975e01561082d67634fd3
libtoolize: source extract-trace rather than fork and execute each call.

Rather than forking and executing a full $SHELL for each macro
extraction, source the script and its dependencies into our
execution space and use the provided func_extract_trace API.
* libtoolize.m4sh: Source extract-trace from an appropriate
directory determined presently by make.
(func_extract_trace): Remove this wrapper.
* Makefile.am (abs_aux_dir): Absolute path to extract-trace
directory.
(configure_edit): Inject abs_aux_dir into uninstalled libtoolize.
(bin_SCRIPTS): Remove libtoolize.
(uninstall-hook): Manually uninstall libtoolize.
(install-data-local): Inject pkgauxdir into installed libtoolize
during installation.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Makefile.am
libtoolize.m4sh