]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtoolize: simplify file-copying and -linking call-graph.
authorGary V. Vaughan <gary@gnu.org>
Thu, 10 Nov 2011 09:14:48 +0000 (16:14 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 17 Nov 2011 10:51:14 +0000 (17:51 +0700)
commit4e671d6ba69c889b1f9aee12de6c504d26dc6514
treea358262d9d0e1335c140ec283f3dad0d8229a1b0
parent3e7c10eb673bd7ed271c5cd89df8e44e3cec962d
libtoolize: simplify file-copying and -linking call-graph.

* libtoolize.m4sh (TAR): Remove.
(func_copy_some_files, func_copy_cb): Remove.
(func_copy): Refactor from all of the above, and simplify. No
need to use $TAR to preserve timestamps when copying, since
we've been running touch right afterwards anyway. Adjust all
callers to use the new argument footprint.
(func_serial_update, func_keyword_update): Delete any pre-
existing destination file when used with `--force' before
calling func_copy, now that the hardcoded special cases are not
in there any more.
(func_install_pkgmacro_subproject)
(func_install_pkgaux_subproject): Use our own file loop -
func_copy subsumes all the checks previously in
func_copy_some_files, but operates on only one file at a time.
(func_install_pkgltdl_files): Similarly, handle aclocal.m4 and
configure special cases here, before calling func_copy.
* tests/libtoolize.at: Make sure we match corrected "copying
`configure.ac'" output.

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