Add r5900
[binutils-gdb.git] / sim / mips / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 sinclude(../common/aclocal.m4)
3 AC_PREREQ(2.5)dnl
4 AC_INIT(Makefile.in)
5
6 SIM_AC_COMMON
7
8 # Ensure a reasonable default simulator is constructed:
9 case "${target}" in
10 # start-sanitize-r5900
11 mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";;
12 # end-sanitize-r5900
13 mips64*-*-*) SIMCONF="-mips0 --warnings";;
14 mips16*-*-*) SIMCONF="-mips0 --warnings";;
15 mips*-*-*) SIMCONF="-mips2 --warnings";;
16 *) SIMCONF="-mips0 --warnings";;
17 esac
18 AC_SUBST(SIMCONF)
19
20 AC_CHECK_HEADERS(string.h strings.h stdlib.h)
21 AC_CHECK_LIB(m, fabs)
22 AC_CHECK_FUNCS(aint anint sqrt)
23
24 SIM_AC_OUTPUT