mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
sim: rl78/rx: drop unnecessary getopt.h probing
Since getopt.h is provided by libiberty, there's no need to probe for a system version of it. Plus we already assume it exists in other parts of the sim.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2021-04-20 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Delete AC_CHECK_HEADERS_ONCE.
|
||||
* main.c: Delete HAVE_GETOPT_H.
|
||||
* config.in, configure: Regenerate.
|
||||
|
||||
2021-04-18 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
|
||||
|
@ -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
|
||||
|
||||
|
9
sim/rl78/configure
vendored
9
sim/rl78/configure
vendored
@ -2302,7 +2302,6 @@ as_fn_append ac_func_list " posix_fallocate"
|
||||
as_fn_append ac_func_list " sigaction"
|
||||
as_fn_append ac_func_list " time"
|
||||
as_fn_append ac_func_list " truncate"
|
||||
as_fn_append ac_header_list " getopt.h"
|
||||
# Check that the precious variables saved in the cache have kept the same
|
||||
# value.
|
||||
ac_cache_corrupted=false
|
||||
@ -11244,7 +11243,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11247 "configure"
|
||||
#line 11246 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11350,7 +11349,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11353 "configure"
|
||||
#line 11352 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11996,10 +11995,6 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cgen_breaks=""
|
||||
if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
|
||||
cgen_breaks="break cgen_rtx_error";
|
||||
|
@ -24,6 +24,4 @@ AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
|
||||
SIM_AC_COMMON
|
||||
SIM_AC_OPTION_WARNINGS(no)
|
||||
|
||||
AC_CHECK_HEADERS_ONCE(getopt.h)
|
||||
|
||||
SIM_AC_OUTPUT
|
||||
|
@ -30,9 +30,7 @@
|
||||
#include <assert.h>
|
||||
#include <setjmp.h>
|
||||
#include <signal.h>
|
||||
#ifdef HAVE_GETOPT_H
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
|
||||
#include "libiberty.h"
|
||||
#include "bfd.h"
|
||||
|
Reference in New Issue
Block a user