mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
From: Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (AC_CHECK_HEADERS): check for endian.h. Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK. Add host & target cases for i[345]86-*-gnu*. * config.in: Regenerate with autoheader. * configure: Regenerate with autoconf. * Makefile.in (AR, AWK): Set from corresponding autoconf substs. (init.c): Don't scan mig-generated files. * defs.h (endian.h): Include if HAVE_ENDIAN_H defined. * config/nm-m3.h (ATTACH_NO_WAIT): Define. * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT" rather than "#ifndef MACH".
This commit is contained in:
@ -706,6 +706,10 @@ extern char *strerror ();
|
||||
|
||||
/* HOST_BYTE_ORDER must be defined to one of these. */
|
||||
|
||||
#ifdef HAVE_ENDIAN_H
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
||||
#if !defined (BIG_ENDIAN)
|
||||
#define BIG_ENDIAN 4321
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user