[PATCH] libgloss: check for objcopy & objdump properly

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
A bunch of ports hack together these values rather than setting them
up in the configure script for everyone.
---
 libgloss/Makefile.in  |   2 +
 libgloss/configure    | 186 ++++++++++++++++++++++++++++++++++++++++++
 libgloss/configure.ac |   2 +
 3 files changed, 190 insertions(+)

diff --git a/libgloss/configure.ac b/libgloss/configure.ac
index b22778896797..8326889a2167 100644
--- a/libgloss/configure.ac
+++ b/libgloss/configure.ac
@@ -257,6 +257,8 @@ AM_PROG_AR
 LD=${LD-ld}
 AC_SUBST(LD)
 AC_PROG_RANLIB
+AC_CHECK_TOOL(OBJCOPY, objcopy, :)
+AC_CHECK_TOOL(OBJDUMP, objdump, :)
 
 AC_DEFINE(HAVE_GNU_LD, 1, [Using GNU LD])
 
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.