[PATCH 7/7] newlib: switch to standard AC_PROG_RANLIB

Mike Frysinger vapier@gentoo.org
Sat Feb 5 07:34:36 GMT 2022


This is basically a noop, but switch to the autoconf macro for finding
a suitable ranlib tool.
---
 newlib/acinclude.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4
index efbd1b258e7c..3a4edbd6ed77 100644
--- a/newlib/acinclude.m4
+++ b/newlib/acinclude.m4
@@ -125,7 +125,7 @@ AC_REQUIRE([AC_PROG_CPP])dnl
 
 AC_REQUIRE([AM_PROG_AS])dnl
 AC_REQUIRE([AM_PROG_AR])dnl
-AC_CHECK_TOOL(RANLIB, ranlib, :)
+AC_PROG_RANLIB
 AC_CHECK_TOOL(READELF, readelf, :)
 
 dnl We need these programs, but so does Automake.  Require the macros to avoid
-- 
2.34.1



More information about the Newlib mailing list