]> Git Repo - binutils.git/blob - sim/frv/configure.ac
68487abc2f3c867604ebaf5051354f3c1767d078
[binutils.git] / sim / frv / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.64)dnl
3 AC_INIT(Makefile.in)
4 sinclude(../common/acinclude.m4)
5
6 SIM_AC_COMMON
7
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,
20 [  --enable-sim-trapdump                Make unknown traps dump the registers],
21 [case "${enableval}" in
22   yes) sim_trapdump="-DTRAPDUMP=1";;
23   no)  sim_trapdump="-DTRAPDUMP=0";;
24   *)   AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump"); sim_trapdump="";;
25 esac
26 if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then
27   echo "Setting sim_trapdump = $sim_trapdump" 6>&1
28 fi],[sim_trapdump=""])dnl
29 AC_SUBST(sim_trapdump)
30
31 SIM_AC_OPTION_HARDWARE(always,"","")
32
33 if test -z "$SIM_DV_SOCKSER_O"; then
34         AC_MSG_ERROR([Sorry, but hardware support in this simulator
35 unconditionally relies on dv-sockser.o which is unavailable for your host.
36 Please fix this simulator.])
37 fi
38
39 SIM_AC_OUTPUT
This page took 0.016351 seconds and 2 git commands to generate.