]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/frv/configure.ac
Index: arm/ChangeLog
[thirdparty/binutils-gdb.git] / sim / frv / configure.ac
CommitLineData
b34f6357 1dnl Process this file with autoconf to produce a configure script.
b7026657 2AC_PREREQ(2.59)dnl
b34f6357 3AC_INIT(Makefile.in)
35695fd6 4AC_CONFIG_HEADER(config.h:config.in)
b34f6357 5
f0569246 6sinclude(../common/aclocal.m4)
b34f6357 7
35695fd6
AC
8# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
9# it by inlining the macro's contents.
10sinclude(../common/common.m4)
11
b34f6357
DB
12SIM_AC_OPTION_ENDIAN(BIG_ENDIAN)
13SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT)
14SIM_AC_OPTION_HOSTENDIAN
15SIM_AC_OPTION_SCACHE(16384)
16SIM_AC_OPTION_DEFAULT_MODEL(fr500)
17SIM_AC_OPTION_ENVIRONMENT
18SIM_AC_OPTION_CGEN_MAINT
19
20#
21# Enable making unknown traps dump out registers
22#
23AC_ARG_ENABLE(sim-trapdump,
24[ --enable-sim-trapdump Make unknown traps dump the registers],
25[case "${enableval}" in
26 yes) sim_trapdump="-DTRAPDUMP=1";;
27 no) sim_trapdump="-DTRAPDUMP=0";;
28 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump"); sim_trapdump="";;
29esac
30if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then
31 echo "Setting sim_trapdump = $sim_trapdump" 6>&1
32fi],[sim_trapdump=""])dnl
33AC_SUBST(sim_trapdump)
34
35SIM_AC_OUTPUT