]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/d30v/configure.in
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / sim / d30v / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 sinclude(../common/aclocal.m4)
3 AC_PREREQ(2.5)dnl
4 AC_INIT(Makefile.in)
5
6 SIM_AC_COMMON
7
8 dnl Find a versionn of m4 to use as a preprocessor
9 AC_PATH_PROGS(M4, gm4 gnum4 m4, m4)
10
11 dnl Options available in this module
12 SIM_AC_OPTION_INLINE(0)
13 SIM_AC_OPTION_ENDIAN(BIG_ENDIAN)
14 SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT)
15 SIM_AC_OPTION_HOSTENDIAN
16 SIM_AC_OPTION_WARNINGS
17 SIM_AC_OPTION_RESERVED_BITS(1)
18
19 AC_SUBST(M4)
20
21 #
22 # Enable making unknown traps dump out registers
23 #
24 AC_ARG_ENABLE(sim-trapdump,
25 [ --enable-sim-trapdump Make unknown traps dump the registers],
26 [case "${enableval}" in
27 yes) sim_trapdump="-DTRAPDUMP=1";;
28 no) sim_trapdump="-DTRAPDUMP=0";;
29 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-trapdump"); sim_trapdump="";;
30 esac
31 if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then
32 echo "Setting sim_trapdump = $sim_trapdump" 6>&1
33 fi],[sim_trapdump=""])dnl
34 AC_SUBST(sim_trapdump)
35
36 dnl For UNIX emulation
37 AC_CHECK_HEADERS(stdlib.h unistd.h string.h strings.h)
38
39
40 SIM_AC_OUTPUT