1ac72f0659
Rather than re-invent endian defines, as well as maintain our own list of OS & arch-specific includes, punt all that logic in favor of the bfd ones already set up and maintained elsewhere. We already rely on the bfd library, so leveraging the endian aspect should be fine.
20 lines
531 B
Text
20 lines
531 B
Text
dnl Process this file with autoconf to produce a configure script.
|
|
AC_PREREQ(2.64)dnl
|
|
AC_INIT(Makefile.in)
|
|
sinclude(../common/acinclude.m4)
|
|
|
|
SIM_AC_COMMON
|
|
|
|
SIM_AC_OPTION_ENDIAN(LITTLE)
|
|
SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
|
|
SIM_AC_OPTION_HOSTENDIAN
|
|
SIM_AC_OPTION_WARNINGS
|
|
SIM_AC_OPTION_RESERVED_BITS
|
|
SIM_AC_OPTION_BITSIZE(32,31)
|
|
SIM_AC_OPTION_INLINE()
|
|
SIM_AC_OPTION_HARDWARE(yes,,mn103cpu mn103int mn103tim mn103ser mn103iop)
|
|
|
|
AC_CHECK_FUNCS(time chmod utime fork execve execv chown)
|
|
AC_CHECK_HEADERS(utime.h)
|
|
|
|
SIM_AC_OUTPUT
|