]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/mn10300/configure.in
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / sim / mn10300 / configure.in
CommitLineData
19c5af72 1dnl Process this file with autoconf to produce a configure script.
5da9ce07 2sinclude(../common/aclocal.m4)
e855e576
AC
3dnl 2.12 botches SHELL substitution
4AC_PREREQ(2.12.1)dnl
05ccbdfd
JL
5AC_INIT(Makefile.in)
6
7SIM_AC_COMMON
8
4f262a37
JJ
9SIM_AC_OPTION_ENDIAN(LITTLE_ENDIAN)
10SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
11SIM_AC_OPTION_HOSTENDIAN
12SIM_AC_OPTION_WARNINGS
13SIM_AC_OPTION_RESERVED_BITS
14SIM_AC_OPTION_BITSIZE(32,31)
1e23866b 15SIM_AC_OPTION_INLINE()
199cb741 16SIM_AC_OPTION_HARDWARE(yes,,mn103cpu mn103int mn103tim mn103ser mn103iop)
4f262a37
JJ
17
18AC_CHECK_FUNCS(time chmod utime fork execve execv chown)
19AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h utime.h time.h)
20
21#
22# Enable common
23#
24AC_ARG_ENABLE(sim-common,
25[ --enable-sim-common Enable common simulator],
26[case "${enableval}" in
27 yes) sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH";;
28 no) sim_gen="-DWITH_COMMON=0"; mn10300_common="WITHOUT";;
29 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-common"); sim_gen="";;
30esac
31if test x"$silent" != x"yes" && test x"$sim_gen" != x""; then
32 echo "Setting sim_common = $sim_common" 6>&1
51ccd82f 33fi],[sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH"])dnl
4f262a37
JJ
34AC_SUBST(sim_gen)
35AC_SUBST(mn10300_common)
05ccbdfd
JL
36
37SIM_AC_OUTPUT