1 dnl Process this file with autoconf to produce a configure script.
3 sinclude(../common/acinclude.m4)
7 SIM_AC_OPTION_ENDIAN(BIG)
8 SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT)
9 SIM_AC_OPTION_SCACHE(16384)
10 SIM_AC_OPTION_DEFAULT_MODEL(fr500)
11 SIM_AC_OPTION_CGEN_MAINT
14 # Enable making unknown traps dump out registers
16 AC_ARG_ENABLE(sim-trapdump,
17 [AS_HELP_STRING([--enable-sim-trapdump],
18 [Make unknown traps dump the registers])],
19 [case "${enableval}" in
20 yes) sim_trapdump="-DTRAPDUMP=1";;
21 no) sim_trapdump="-DTRAPDUMP=0";;
22 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump"); sim_trapdump="";;
24 if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then
25 echo "Setting sim_trapdump = $sim_trapdump" 6>&1
26 fi],[sim_trapdump=""])dnl
27 AC_SUBST(sim_trapdump)
29 SIM_AC_OPTION_HARDWARE(yes,"","")