From 41e166b43b16db5980a5fe011c0165642ee1708a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Apr 2021 23:33:31 -0400 Subject: [PATCH] sim: msp430: delete unused getopt.h probe 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 3fb96802f66..cdc5cbd7480 100644 --- a/sim/msp430/ChangeLog +++ b/sim/msp430/ChangeLog @@ -1,3 +1,8 @@ +2021-04-18 Mike Frysinger + + * configure.ac: Delete AC_CHECK_HEADERS call. + * config.in, configure: Regenerate. + 2021-04-18 Mike Frysinger * configure: Regenerate. diff --git a/sim/msp430/config.in b/sim/msp430/config.in index e4894c4c510..cb5ea1b01c9 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 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 86a1946b466..4488524eea6 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 68e9467339a..0277d7f497e 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