1 dnl Process this file with autoconf to produce a configure script.
2 sinclude(../common/aclocal.m4)
8 sim_link_files="${sim_link_files} m32r-sim.h ../../opcodes/m32r-opc.h"
9 sim_link_links="${sim_link_links} cpu-sim.h cpu-opc.h"
11 SIM_AC_OPTION_ENDIAN(BIG_ENDIAN)
12 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
13 SIM_AC_OPTION_HOSTENDIAN
14 SIM_AC_OPTION_SCACHE(1024)
15 SIM_AC_OPTION_DEFAULT_MODEL(m32r/d)
16 SIM_AC_OPTION_ENVIRONMENT
19 # Having --enable-maintainer-mode take arguments is another way to go.
20 AC_ARG_ENABLE(cgen-maint,
21 [ --enable-cgen-maint build cgen generated files],
22 [case "${enableval}" in
25 *) AC_MSG_ERROR([bad value ${enableval} for simulator cgen-maint option]) ;;
28 if test "x${cgen_maint}" = x ; then
29 AC_CHECK_PROG(SCHEME, guile, guile, guile)