sim: move default model to the runtime sim state
[binutils-gdb.git] / sim / frv / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(Makefile.in)
3 AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
4
5 SIM_AC_OPTION_SCACHE(16384)
6
7 #
8 # Enable making unknown traps dump out registers
9 #
10 AC_ARG_ENABLE(sim-trapdump,
11 [AS_HELP_STRING([--enable-sim-trapdump],
12 [Make unknown traps dump the registers])],
13 [case "${enableval}" in
14 yes) sim_trapdump="-DTRAPDUMP=1";;
15 no) sim_trapdump="-DTRAPDUMP=0";;
16 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump"); sim_trapdump="";;
17 esac
18 if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then
19 echo "Setting sim_trapdump = $sim_trapdump" 6>&1
20 fi],[sim_trapdump=""])dnl
21 AC_SUBST(sim_trapdump)
22
23 SIM_AC_OUTPUT