aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-04-18 23:33:31 -0400
committerMike Frysinger <vapier@gentoo.org>2021-04-18 23:34:16 -0400
commit41e166b43b16db5980a5fe011c0165642ee1708a (patch)
treede4e694398517f39b7eb06c1c1284128ec06f952
parentf3d25569f113248ae34ac35e950378a90d332e64 (diff)
downloadfsf-binutils-gdb-41e166b43b16db5980a5fe011c0165642ee1708a.zip
fsf-binutils-gdb-41e166b43b16db5980a5fe011c0165642ee1708a.tar.gz
fsf-binutils-gdb-41e166b43b16db5980a5fe011c0165642ee1708a.tar.bz2
sim: msp430: delete unused getopt.h probe
This port doesn't include it anywhere, so drop the test.
-rw-r--r--sim/msp430/ChangeLog5
-rw-r--r--sim/msp430/config.in3
-rwxr-xr-xsim/msp430/configure13
-rw-r--r--sim/msp430/configure.ac2
4 files changed, 5 insertions, 18 deletions
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog
index 3fb9680..cdc5cbd 100644
--- a/sim/msp430/ChangeLog
+++ b/sim/msp430/ChangeLog
@@ -1,5 +1,10 @@
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.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/msp430/config.in b/sim/msp430/config.in
index e4894c4..cb5ea1b 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 86a1946..4488524 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 68e9467..0277d7f 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