]> 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, 6 Sep 2024 15:26:18 +0000 (18:26 +0300)
commitb165ea8e0a165be58da1af7c6a0ac5e9de1f8eff
tree9fc8ebe68eb68fcd77076911d568f43984566acf
parent8d3a91a1850c91b5d901ef377798498c0bdea1e3
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]