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