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