1dnl Process this file with autoconf to produce a configure script. 2AC_PREREQ(2.59)dnl 3AC_INIT(Makefile.in) 4AC_CONFIG_HEADER(config.h:config.in) 5 6sinclude(../common/aclocal.m4) 7 8# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around 9# it by inlining the macro's contents. 10sinclude(../common/common.m4) 11 12dnl Options available in this module 13SIM_AC_OPTION_INLINE() 14SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT) 15SIM_AC_OPTION_HOSTENDIAN 16SIM_AC_OPTION_WARNINGS 17 18# 19# Add simulated hardware devices 20# 21hw_enabled=no 22case "${target}" in 23 m68hc11-*-*|m6811-*-*) 24 hw_enabled=yes 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" 28 ;; 29 *) 30 m68hc11_extra_objs="" 31 ;; 32esac 33SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices) 34 35AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h fcntl.h) 36 37AC_SUBST(m68hc11_extra_objs) 38 39SIM_AC_OUTPUT 40