Fix a number of problems in the r5900 specific p* (parallel) instructions.
[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 dnl Options available in this module
9 SIM_AC_OPTION_INLINE(0)
10 SIM_AC_OPTION_ENDIAN(0)
11 SIM_AC_OPTION_HOSTENDIAN
12 SIM_AC_OPTION_WARNINGS
13
14
15 # Ensure a reasonable default simulator is constructed:
16 case "${target}" in
17 # start-sanitize-r5900
18 mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";;
19 # end-sanitize-r5900
20 mips64*-*-*) SIMCONF="-mips0 --warnings";;
21 mips16*-*-*) SIMCONF="-mips0 --warnings";;
22 mips*-*-*) SIMCONF="-mips2 --warnings";;
23 *) SIMCONF="-mips0 --warnings";;
24 esac
25 AC_SUBST(SIMCONF)
26
27 AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h)
28 AC_CHECK_LIB(m, fabs)
29 AC_CHECK_FUNCS(aint anint sqrt)
30
31 SIM_AC_OUTPUT