]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtoolize: refactor configure_ac discovery.
authorGary V. Vaughan <gary@gnu.org>
Thu, 3 Nov 2011 14:45:15 +0000 (21:45 +0700)
committerGary V. Vaughan <gary@gnu.org>
Tue, 8 Nov 2011 13:38:31 +0000 (20:38 +0700)
commit6df0b275b596ef6670179bca06d4e9e96cc894c4
tree100ea9158b0bb7b7acf47ad77380089e82f2444e
parentd5393524f6f01ba02d7b61800288070184335960
libtoolize: refactor configure_ac discovery.

Make a start on decomposing some of the giant functions at the
heart of libtoolize into the much more flexible and manageable
(albeit somewhat more verbose) model of self-organising
$require_<foo> function pointers.
* libtoolize.m4sh (require_configure_ac): New function factored
out of func_scan_files for setting $configure_ac appropriately,
implementation taken from extract-trace script.
(func_autoconf_configure): And similarly for ensuring that a
filename which matches something Autoconf would read also has
content that appears to be destined for Autoconf processing.
(func_scan_files): Simplified the factored out code to a single
require_configure_ac call.
(func_install_pkgconfig_files, func_check_macros): Ditto.
(seen_autoconf): Removed.

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