mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
C99 opcodes configury
* configure.ac: Don't check for limits.h, string.h, strings.h or stdlib.h. (AC_ISC_POSIX): Don't invoke. * sysdep.h: Include stdlib.h and string.h unconditionally. * i386-opc.h: Include limits.h unconditionally. * wasm32-dis.c: Likewise. * cgen-opc.c: Don't include alloca-conf.h. * config.in: Regenerate. * configure: Regenerate.
This commit is contained in:
parent
83c79df86b
commit
ab2af25e83
@ -1,3 +1,15 @@
|
||||
2021-04-05 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* configure.ac: Don't check for limits.h, string.h, strings.h or
|
||||
stdlib.h.
|
||||
(AC_ISC_POSIX): Don't invoke.
|
||||
* sysdep.h: Include stdlib.h and string.h unconditionally.
|
||||
* i386-opc.h: Include limits.h unconditionally.
|
||||
* wasm32-dis.c: Likewise.
|
||||
* cgen-opc.c: Don't include alloca-conf.h.
|
||||
* config.in: Regenerate.
|
||||
* configure: Regenerate.
|
||||
|
||||
2021-04-01 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* arm-dis.c (strneq): Remove strneq and use startswith.
|
||||
|
@ -19,7 +19,6 @@
|
||||
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
#include "sysdep.h"
|
||||
#include "alloca-conf.h"
|
||||
#include <stdio.h>
|
||||
#include "ansidecl.h"
|
||||
#include "libiberty.h"
|
||||
|
@ -25,9 +25,6 @@
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#undef HAVE_LIMITS_H
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
@ -83,9 +80,6 @@
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define if you can safely include both <string.h> and <strings.h>. */
|
||||
#undef STRING_WITH_STRINGS
|
||||
|
||||
/* Enable extensions on AIX 3, Interix. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# undef _ALL_SOURCE
|
||||
|
1996
opcodes/configure
vendored
1996
opcodes/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -22,7 +22,6 @@ AC_INIT([opcodes], BFD_VERSION)
|
||||
AC_CONFIG_SRCDIR([z8k-dis.c])
|
||||
|
||||
AC_CANONICAL_TARGET
|
||||
AC_ISC_POSIX
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
@ -84,9 +83,6 @@ BFD_CC_FOR_BUILD
|
||||
AC_SUBST(HDEFINES)
|
||||
AC_PROG_INSTALL
|
||||
|
||||
AC_CHECK_HEADERS(string.h strings.h stdlib.h limits.h)
|
||||
ACX_HEADER_STRING
|
||||
|
||||
AC_CHECK_DECLS([basename, stpcpy])
|
||||
|
||||
# Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
|
||||
|
@ -19,10 +19,7 @@
|
||||
02110-1301, USA. */
|
||||
|
||||
#include "opcode/i386.h"
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT 8
|
||||
#endif
|
||||
|
@ -32,25 +32,9 @@
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "ansidecl.h"
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef STRING_WITH_STRINGS
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#else
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#else
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#include "ansidecl.h"
|
||||
|
||||
#if !HAVE_DECL_STPCPY
|
||||
extern char *stpcpy (char *__dest, const char *__src);
|
||||
|
@ -29,9 +29,7 @@
|
||||
#include "elf/wasm32.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT 8
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user