+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.
/* 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
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
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
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
-
-
-
-
cgen_breaks=""
if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
cgen_breaks="break cgen_rtx_error";
SIM_AC_COMMON
SIM_AC_OPTION_WARNINGS(no)
-AC_CHECK_HEADERS_ONCE(getopt.h)
-
SIM_AC_OUTPUT
#include <assert.h>
#include <setjmp.h>
#include <signal.h>
-#ifdef HAVE_GETOPT_H
#include <getopt.h>
-#endif
#include "libiberty.h"
#include "bfd.h"
+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.
/* 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
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
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11252 "configure"
+#line 11251 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11358 "configure"
+#line 11357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-
-
-
-
# Check whether --enable-cycle-accurate was given.
if test "${enable_cycle_accurate+set}" = set; then :
enableval=$enable_cycle_accurate; case "${enableval}" in
SIM_AC_COMMON
-AC_CHECK_HEADERS_ONCE(getopt.h)
-
AC_ARG_ENABLE(cycle-accurate,
[AS_HELP_STRING([--disable-cycle-accurate],
[Disable cycle accurate simulation (faster runtime)])],
#include <assert.h>
#include <setjmp.h>
#include <signal.h>
-#ifdef HAVE_GETOPT_H
#include <getopt.h>
-#endif
#include "bfd.h"