Add sanitize-am30 markers. Keep details of AM30 implementation of
[deliverable/binutils-gdb.git] / sim / mn10300 / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 sinclude(../common/aclocal.m4)
3 dnl 2.12 botches SHELL substitution
4 AC_PREREQ(2.12.1)dnl
5 AC_INIT(Makefile.in)
6
7 SIM_AC_COMMON
8
9 SIM_AC_OPTION_ENDIAN(LITTLE_ENDIAN)
10 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
11 SIM_AC_OPTION_HOSTENDIAN
12 SIM_AC_OPTION_WARNINGS
13 SIM_AC_OPTION_RESERVED_BITS
14 SIM_AC_OPTION_BITSIZE(32,31)
15 # start-sanitize-am30
16 SIM_AC_OPTION_HARDWARE(,mn103cpu mn103int)
17 # end-sanitize-am30
18
19 AC_CHECK_FUNCS(time chmod utime fork execve execv chown)
20 AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h utime.h time.h)
21
22 #
23 # Enable common
24 #
25 AC_ARG_ENABLE(sim-common,
26 [ --enable-sim-common Enable common simulator],
27 [case "${enableval}" in
28 yes) sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH";;
29 no) sim_gen="-DWITH_COMMON=0"; mn10300_common="WITHOUT";;
30 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-common"); sim_gen="";;
31 esac
32 if test x"$silent" != x"yes" && test x"$sim_gen" != x""; then
33 echo "Setting sim_common = $sim_common" 6>&1
34 fi],[sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH"])dnl
35 AC_SUBST(sim_gen)
36 AC_SUBST(mn10300_common)
37
38 SIM_AC_OUTPUT
This page took 0.03109 seconds and 4 git commands to generate.