Add memory alignment config option.
[deliverable/binutils-gdb.git] / sim / mips / configure.in
CommitLineData
19c5af72
DE
1dnl Process this file with autoconf to produce a configure script.
2sinclude(../common/aclocal.m4)
a271d1d9 3AC_PREREQ(2.5)dnl
8ad57737
JSC
4AC_INIT(Makefile.in)
5
e3d12c65 6SIM_AC_COMMON
8ad57737 7
50a2a691
AC
8dnl Options available in this module
9SIM_AC_OPTION_INLINE(0)
1e851d2c 10SIM_AC_OPTION_ENDIAN(0)
76a6247f 11SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
50a2a691
AC
12SIM_AC_OPTION_HOSTENDIAN
13SIM_AC_OPTION_WARNINGS
14
15
c98ec95d
JSC
16# Ensure a reasonable default simulator is constructed:
17case "${target}" in
b637f306
GRK
18# start-sanitize-tx19
19 mipstx19*-*-*) SIMCONF="-mips1 -mcpu=r1900 -mno-fp --warnings";;
20# end-sanitize-tx19
276c2d7d
GRK
21# start-sanitize-r5900
22 mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";;
23# end-sanitize-r5900
c98ec95d 24 mips64*-*-*) SIMCONF="-mips0 --warnings";;
831f59a2 25 mips16*-*-*) SIMCONF="-mips0 --warnings";;
c98ec95d
JSC
26 mips*-*-*) SIMCONF="-mips2 --warnings";;
27 *) SIMCONF="-mips0 --warnings";;
28esac
e3d12c65 29AC_SUBST(SIMCONF)
8ad57737 30
c476ac55
GRK
31case "${target}" in
32# start-sanitize-tx19
33 mipstx19*-*-*) SIM_SUBTARGET="-DSUBTARGET_R3900=1";;
34# end-sanitize-tx19
35 *) SIM_SUBTARGET="";;
36esac
37AC_SUBST(SIM_SUBTARGET)
38
50a2a691 39AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h)
4fa134be 40AC_CHECK_LIB(m, fabs)
617c07c6 41AC_CHECK_FUNCS(aint anint sqrt)
4fa134be 42
e3d12c65 43SIM_AC_OUTPUT
This page took 0.110176 seconds and 4 git commands to generate.