
scheme which is more compatible with WinGDB builds. * configure.in: Improve comment on how to run autoconf. * configure: Re-run autoconf to get new ../common/aclocal.m4. * Makefile.in: Use autoconf substitution to install common makefile fragment.
20 lines
568 B
Text
20 lines
568 B
Text
dnl Process this file with `autoconf -l ../common' to produce a configure script.
|
|
AC_PREREQ(2.5)dnl
|
|
AC_INIT(Makefile.in)
|
|
|
|
SIM_AC_COMMON
|
|
|
|
# Ensure a reasonable default simulator is constructed:
|
|
case "${target}" in
|
|
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
|