* Makefile.in (tmp-igen): Prefix all usage of move-if-change
[deliverable/binutils-gdb.git] / sim / mn10300 / configure.in
CommitLineData
19c5af72
DE
1dnl Process this file with autoconf to produce a configure script.
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)
6100784a 15SIM_AC_OPTION_HARDWARE(,mn103cpu mn103int)
4f262a37
JJ
16
17AC_CHECK_FUNCS(time chmod utime fork execve execv chown)
18AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h utime.h time.h)
19
20#
21# Enable common
22#
23AC_ARG_ENABLE(sim-common,
24[ --enable-sim-common Enable common simulator],
25[case "${enableval}" in
26 yes) sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH";;
27 no) sim_gen="-DWITH_COMMON=0"; mn10300_common="WITHOUT";;
28 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-common"); sim_gen="";;
29esac
30if test x"$silent" != x"yes" && test x"$sim_gen" != x""; then
31 echo "Setting sim_common = $sim_common" 6>&1
51ccd82f 32fi],[sim_gen="-DWITH_COMMON=1"; mn10300_common="WITH"])dnl
4f262a37
JJ
33AC_SUBST(sim_gen)
34AC_SUBST(mn10300_common)
05ccbdfd
JL
35
36SIM_AC_OUTPUT
This page took 0.073508 seconds and 4 git commands to generate.