]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtoolize: Fix conflicting warnings about AC_PROG_RANLIB
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 5 Sep 2024 18:19:18 +0000 (21:19 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Fri, 13 Sep 2024 17:19:34 +0000 (20:19 +0300)
commit3e6c6284a75050181fa724d58581466e0729ec79
tree9fc8ebe68eb68fcd77076911d568f43984566acf
parent6c8203d2aef6e3bcd4c1339a6d69962a1be517e6
libtoolize: Fix conflicting warnings about AC_PROG_RANLIB

The macro _LT_CMD_OLD_ARCHIVE inlines the definition of AC_PROG_RANLIB,
which seems to be outdated functionality. Running autoscan in a
directory with ltmain.sh produces conflicting warnings with libtoolize
about AC_PROG_RANLIB. Autoconf warns that AC_PROG_RANLIB is missing,
but libtoolize warns that it is obsolete. The outdated warning should
no longer appear after replacing AC_CHECK_TOOL(RANLIB, ranlib, :) with
AC_REQUIRE([AC_PROG_RANLIB]).

* m4/libtool.m4: Use AC_REQUIRE([AC_PROG_RANLIB]).
* Makefile.am: Added in tests/bug_42313.at.
* tests/bug_42313.at: Contains test cases for bug 42313.
Makefile.am
m4/libtool.m4
tests/bug_42313.at [new file with mode: 0644]