Fri Jul 24 18:15:21 1998 Joyce Janczyn <janczyn@cygnus.com>
[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 SIM_AC_OPTION_INLINE()
16 # start-sanitize-am30
17 SIM_AC_OPTION_HARDWARE(yes,,mn103cpu mn103int mn103tim mn103ser mn103iop)
18
19 # end-sanitize-am30
20 AC_CHECK_FUNCS(time chmod utime fork execve execv chown)
21 AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h utime.h time.h)
22
23 #
24 # Enable common
25 #
26 AC_ARG_ENABLE(sim-common,
27 [ --enable-sim-common Enable common simulator],
28 [case "${enableval}" in
29 yes) sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH";;
30 no) sim_gen="-DWITH_COMMON=0"; mn10300_common="WITHOUT";;
31 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-common"); sim_gen="";;
32 esac
33 if test x"$silent" != x"yes" && test x"$sim_gen" != x""; then
34 echo "Setting sim_common = $sim_common" 6>&1
35 fi],[sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH"])dnl
36 AC_SUBST(sim_gen)
37 AC_SUBST(mn10300_common)
38
39 SIM_AC_OUTPUT
This page took 0.031375 seconds and 4 git commands to generate.