1 dnl Process this file with autoconf to produce a configure script.
4 AC_CONFIG_HEADER(config.h:config.in)
6 sinclude(../common/aclocal.m4)
8 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
9 # it by inlining the macro's contents.
10 sinclude(../common/common.m4)
12 dnl Options available in this module
13 SIM_AC_OPTION_INLINE()
14 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
15 SIM_AC_OPTION_HOSTENDIAN
16 SIM_AC_OPTION_WARNINGS
19 # Add simulated hardware devices
23 m68hc11-*-*|m6811-*-*)
25 hw_extra_devices="m68hc11 m68hc11sio m68hc11eepr m68hc11tim m68hc11spi nvram"
26 m68hc11_extra_objs="dv-sockser.o"
27 SIM_SUBTARGET="$SIM_SUBTARGET -DTARGET_M68HC11=1"
33 SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
35 AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h fcntl.h)
37 AC_SUBST(m68hc11_extra_objs)