public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH 1/3] sim: build: stop probing system extensions (ourselves)
Date: Mon, 16 Jan 2023 04:46:54 -0500	[thread overview]
Message-ID: <20230116094656.22818-1-vapier@gentoo.org> (raw)

This logic was added in order to expose the strsignal prototype for
nrun.c.  Since then, we've migrated to gnulib as our portability layer,
and it takes care of probing system extensions for us, so there's no
need to duplicate the work.
---
 sim/config.h.in            |  32 --------
 sim/configure              | 159 +------------------------------------
 sim/m4/sim_ac_toolchain.m4 |   1 -
 3 files changed, 3 insertions(+), 189 deletions(-)

diff --git a/sim/m4/sim_ac_toolchain.m4 b/sim/m4/sim_ac_toolchain.m4
index 50f08f90d5d7..cb145f78530e 100644
--- a/sim/m4/sim_ac_toolchain.m4
+++ b/sim/m4/sim_ac_toolchain.m4
@@ -17,7 +17,6 @@ dnl Setup the toolchain variables.
 AC_DEFUN([SIM_AC_TOOLCHAIN],
 [dnl
 AC_CANONICAL_SYSTEM
-AC_USE_SYSTEM_EXTENSIONS
 AC_REQUIRE([AC_PROG_CC])
 AC_REQUIRE([AC_PROG_CPP])
 AC_C_BIGENDIAN
-- 
2.39.0


             reply	other threads:[~2023-01-16  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-16  9:46 Mike Frysinger [this message]
2023-01-16  9:46 ` [PATCH 2/3] sim: formally assume unistd.h always exists (via gnulib) Mike Frysinger
2023-01-16  9:46 ` [PATCH 3/3] sim: assume sys/stat.h " Mike Frysinger

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=20230116094656.22818-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@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).