]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/frv/configure.ac
sim: delete SIM_AC_COMMON macro
[thirdparty/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 SIM_AC_OPTION_DEFAULT_MODEL(fr500)
7
8 #
9 # Enable making unknown traps dump out registers
10 #
11 AC_ARG_ENABLE(sim-trapdump,
12 [AS_HELP_STRING([--enable-sim-trapdump],
13 [Make unknown traps dump the registers])],
14 [case "${enableval}" in
15 yes) sim_trapdump="-DTRAPDUMP=1";;
16 no) sim_trapdump="-DTRAPDUMP=0";;
17 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump"); sim_trapdump="";;
18 esac
19 if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then
20 echo "Setting sim_trapdump = $sim_trapdump" 6>&1
21 fi],[sim_trapdump=""])dnl
22 AC_SUBST(sim_trapdump)
23
24 SIM_AC_OUTPUT