When examining weak symbols, follow indirect links.
[deliverable/binutils-gdb.git] / sim / mn10300 / configure.in
CommitLineData
c906108c
SS
1dnl Process this file with autoconf to produce a configure script.
2sinclude(../common/aclocal.m4)
3dnl 2.12 botches SHELL substitution
4AC_PREREQ(2.12.1)dnl
5AC_INIT(Makefile.in)
6
7SIM_AC_COMMON
8
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)
15SIM_AC_OPTION_INLINE()
16SIM_AC_OPTION_HARDWARE(yes,,mn103cpu mn103int mn103tim mn103ser mn103iop)
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
33fi],[sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH"])dnl
34AC_SUBST(sim_gen)
35AC_SUBST(mn10300_common)
36
37SIM_AC_OUTPUT
This page took 0.137005 seconds and 4 git commands to generate.