]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/frv/configure.ac
2005-01-13 Andrew Cagney <cagney@gnu.org>
[thirdparty/binutils-gdb.git] / sim / frv / configure.ac
CommitLineData
b34f6357 1dnl Process this file with autoconf to produce a configure script.
b7026657 2AC_PREREQ(2.59)dnl
b34f6357
DB
3AC_INIT(Makefile.in)
4
f0569246
AC
5sinclude(../common/common.m4)
6sinclude(../common/aclocal.m4)
b34f6357
DB
7
8SIM_AC_OPTION_ENDIAN(BIG_ENDIAN)
9SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT)
10SIM_AC_OPTION_HOSTENDIAN
11SIM_AC_OPTION_SCACHE(16384)
12SIM_AC_OPTION_DEFAULT_MODEL(fr500)
13SIM_AC_OPTION_ENVIRONMENT
14SIM_AC_OPTION_CGEN_MAINT
15
16#
17# Enable making unknown traps dump out registers
18#
19AC_ARG_ENABLE(sim-trapdump,
20[ --enable-sim-trapdump Make unknown traps dump the registers],
21[case "${enableval}" in
22 yes) sim_trapdump="-DTRAPDUMP=1";;
23 no) sim_trapdump="-DTRAPDUMP=0";;
24 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump"); sim_trapdump="";;
25esac
26if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then
27 echo "Setting sim_trapdump = $sim_trapdump" 6>&1
28fi],[sim_trapdump=""])dnl
29AC_SUBST(sim_trapdump)
30
31SIM_AC_OUTPUT