1 dnl Process this file with autoconf to produce a configure script.
2 sinclude(../common/aclocal.m4)
8 dnl Options available in this module
9 SIM_AC_OPTION_INLINE(0)
10 SIM_AC_OPTION_ENDIAN(0)
11 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
12 SIM_AC_OPTION_HOSTENDIAN
13 SIM_AC_OPTION_WARNINGS
16 # Ensure a reasonable default simulator is constructed:
19 mipstx19*-*-*) SIMCONF="-mips1 -mcpu=r1900 -mno-fp --warnings";;
21 # start-sanitize-r5900
22 mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";;
24 mips64*-*-*) SIMCONF="-mips0 --warnings";;
25 mips16*-*-*) SIMCONF="-mips0 --warnings";;
26 mips*-*-*) SIMCONF="-mips2 --warnings";;
27 *) SIMCONF="-mips0 --warnings";;
33 mipstx19*-*-*) SIM_SUBTARGET="-DSUBTARGET_R3900=1";;
37 AC_SUBST(SIM_SUBTARGET)
39 AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h)
41 AC_CHECK_FUNCS(aint anint sqrt)