old-cross-binutils/sim/mips/configure.in
Gavin Romig-Koch 276c2d7dc8 Add r5900
1997-02-11 13:26:34 +00:00

24 lines
694 B
Text

dnl Process this file with autoconf to produce a configure script.
sinclude(../common/aclocal.m4)
AC_PREREQ(2.5)dnl
AC_INIT(Makefile.in)
SIM_AC_COMMON
# Ensure a reasonable default simulator is constructed:
case "${target}" in
# start-sanitize-r5900
mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";;
# end-sanitize-r5900
mips64*-*-*) SIMCONF="-mips0 --warnings";;
mips16*-*-*) SIMCONF="-mips0 --warnings";;
mips*-*-*) SIMCONF="-mips2 --warnings";;
*) SIMCONF="-mips0 --warnings";;
esac
AC_SUBST(SIMCONF)
AC_CHECK_HEADERS(string.h strings.h stdlib.h)
AC_CHECK_LIB(m, fabs)
AC_CHECK_FUNCS(aint anint sqrt)
SIM_AC_OUTPUT