From: Mike Frysinger via Gdb-patches <gdb-patches@sourceware.org>
To: gdb-patches@sourceware.org
Subject: [PATCH/committed] sim: msp430: delete unused getopt.h probe
Date: Sun, 18 Apr 2021 23:34:57 -0400 [thread overview]
Message-ID: <20210419033457.21050-1-vapier@gentoo.org> (raw)
This port doesn't include it anywhere, so drop the test.
---
sim/msp430/ChangeLog | 5 +++++
sim/msp430/config.in | 3 ---
sim/msp430/configure | 13 -------------
sim/msp430/configure.ac | 2 --
4 files changed, 5 insertions(+), 18 deletions(-)
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog
index 3fb96802f669..cdc5cbd74800 100644
--- a/sim/msp430/ChangeLog
+++ b/sim/msp430/ChangeLog
@@ -1,3 +1,8 @@
+2021-04-18 Mike Frysinger <vapier@gentoo.org>
+
+ * configure.ac: Delete AC_CHECK_HEADERS call.
+ * config.in, configure: Regenerate.
+
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/msp430/config.in b/sim/msp430/config.in
index e4894c4c5105..cb5ea1b01c95 100644
--- a/sim/msp430/config.in
+++ b/sim/msp430/config.in
@@ -22,9 +22,6 @@
/* Define to 1 if you have the `ftruncate' function. */
#undef HAVE_FTRUNCATE
-/* Define to 1 if you have the <getopt.h> header file. */
-#undef HAVE_GETOPT_H
-
/* Define to 1 if you have the `getrusage' function. */
#undef HAVE_GETRUSAGE
diff --git a/sim/msp430/configure b/sim/msp430/configure
index 86a1946b4665..4488524eea66 100755
--- a/sim/msp430/configure
+++ b/sim/msp430/configure
@@ -11909,19 +11909,6 @@ _ACEOF
-for ac_header in getopt.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
-if test "x$ac_cv_header_getopt_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_GETOPT_H 1
-_ACEOF
-
-fi
-
-done
-
-
wire_endian="LITTLE"
default_endian=""
diff --git a/sim/msp430/configure.ac b/sim/msp430/configure.ac
index 68e9467339a9..0277d7f497e3 100644
--- a/sim/msp430/configure.ac
+++ b/sim/msp430/configure.ac
@@ -23,8 +23,6 @@ AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
SIM_AC_COMMON
-AC_CHECK_HEADERS(getopt.h)
-
SIM_AC_OPTION_ENDIAN(LITTLE)
SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT,STRICT_ALIGNMENT)
SIM_AC_OPTION_WARNINGS
--
2.30.2
next reply other threads:[~2021-04-19 3:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-19 3:34 Mike Frysinger via Gdb-patches [this message]
2021-04-19 14:26 ` Tom Tromey
2021-04-19 14:44 ` Mike Frysinger via Gdb-patches
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=20210419033457.21050-1-vapier@gentoo.org \
--to=gdb-patches@sourceware.org \
--cc=vapier@gentoo.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