Commit | Line | Data |
---|---|---|
19c5af72 DE |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | sinclude(../common/aclocal.m4) | |
a271d1d9 | 3 | AC_PREREQ(2.5)dnl |
8ad57737 JSC |
4 | AC_INIT(Makefile.in) |
5 | ||
e3d12c65 | 6 | SIM_AC_COMMON |
8ad57737 | 7 | |
c98ec95d JSC |
8 | # Ensure a reasonable default simulator is constructed: |
9 | case "${target}" in | |
276c2d7d GRK |
10 | # start-sanitize-r5900 |
11 | mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";; | |
12 | # end-sanitize-r5900 | |
c98ec95d | 13 | mips64*-*-*) SIMCONF="-mips0 --warnings";; |
831f59a2 | 14 | mips16*-*-*) SIMCONF="-mips0 --warnings";; |
c98ec95d JSC |
15 | mips*-*-*) SIMCONF="-mips2 --warnings";; |
16 | *) SIMCONF="-mips0 --warnings";; | |
17 | esac | |
e3d12c65 | 18 | AC_SUBST(SIMCONF) |
8ad57737 | 19 | |
4fa134be ILT |
20 | AC_CHECK_HEADERS(string.h strings.h stdlib.h) |
21 | AC_CHECK_LIB(m, fabs) | |
617c07c6 | 22 | AC_CHECK_FUNCS(aint anint sqrt) |
4fa134be | 23 | |
e3d12c65 | 24 | SIM_AC_OUTPUT |