]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/frv/configure.ac
sim: unify cgen maintainer settings
[thirdparty/binutils-gdb.git] / sim / frv / configure.ac
CommitLineData
b34f6357 1dnl Process this file with autoconf to produce a configure script.
b34f6357 2AC_INIT(Makefile.in)
760b3e8b 3AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
b34f6357 4
6ffe910a 5SIM_AC_COMMON
35695fd6 6
b34f6357
DB
7SIM_AC_OPTION_SCACHE(16384)
8SIM_AC_OPTION_DEFAULT_MODEL(fr500)
b34f6357
DB
9
10#
11# Enable making unknown traps dump out registers
12#
13AC_ARG_ENABLE(sim-trapdump,
8d0978fb
MF
14[AS_HELP_STRING([--enable-sim-trapdump],
15 [Make unknown traps dump the registers])],
b34f6357
DB
16[case "${enableval}" in
17 yes) sim_trapdump="-DTRAPDUMP=1";;
18 no) sim_trapdump="-DTRAPDUMP=0";;
19 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump"); sim_trapdump="";;
20esac
21if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then
22 echo "Setting sim_trapdump = $sim_trapdump" 6>&1
23fi],[sim_trapdump=""])dnl
24AC_SUBST(sim_trapdump)
25
26SIM_AC_OUTPUT