]> git.ipfire.org Git - thirdparty/libtool.git/commit
Only complain that files are up-to-date with --force.
authorGary V. Vaughan <gary@gnu.org>
Tue, 22 Apr 2008 22:55:20 +0000 (18:55 -0400)
committerGary V. Vaughan <gary@gnu.org>
Tue, 22 Apr 2008 22:55:20 +0000 (18:55 -0400)
commit8e72f358d8049a0e1a64b99ef6716601ef18fec0
tree8285818b2fd1e4a5dd6da6c43a1e1682c2ea0a5f
parent9c3ae35db6bbd9ce82bc5479354d99f53c46e888
Only complain that files are up-to-date with --force.

As a side effect, this also means that when `aclocal' copies the
libtool macros into `aclocal.m4' libtoolize complains only about
the macro files that are missing or not up-to-date.
* libtoolize.m4sh (func_echo_once): New function that prints
the contents of a named variable only on the first call.
(func_aclocal_update_check): New function that compares serial
numbers of libtool macros in aclocal.m4 and only diagnoses the
missing files.
(func_copy, func_copy_cb, func_copy_some_files, func_serial_update)
(func_keyword_update, func_ltmain_update, func_config_update)
(func_install_update): Accept a new argument naming a variable
containing a header string to print with func_echo_once iff any
body text is output by this function.
(func_install_pkgmacro_subproject, func_install_pkgmacro_parent)
(func_install_pkgltdl_files, func_install_pkgconfig_subproject)
(func_install_pkgconfig_parent: Set and pass a suitable
header string variable for the above functions.
(func_serial_update_check): Don't advise rerunning `libtoolize
--force' when aclocal.m4 is not m4_including libtoolize installed
macro files.
* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Transform generic
/usr/local/share/aclocal paths to point into the uninstalled
libtool macro directory.
* tests/libtoolize.at: Update tests that were checking for old
behaviour of outputing `file is already up to date' even when
--force was not passed.
* tests/libtoolize.at: New tests to prevent regressions of these
smarter messages.
* NEWS: Updated.
Reported by Olly Betts <olly@survex.com>
ChangeLog
NEWS
libtoolize.m4sh
tests/libtoolize.at
tests/testsuite.at