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