public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: newlib@sourceware.org
Subject: [PATCH] libgloss: check for objcopy & objdump properly
Date: Wed, 27 Dec 2023 00:29:28 -0500	[thread overview]
Message-ID: <20231227052928.24319-1-vapier@gentoo.org> (raw)

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


                 reply	other threads:[~2023-12-27  5:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231227052928.24319-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).