sim: allow the environment configure option everywhere
[external/binutils.git] / sim / m68hc11 / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.64)dnl
3 AC_INIT(Makefile.in)
4 sinclude(../common/acinclude.m4)
5
6 SIM_AC_COMMON
7
8 dnl Options available in this module
9 SIM_AC_OPTION_ENDIAN(BIG)
10 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
11 SIM_AC_OPTION_WARNINGS
12
13 #
14 # Add simulated hardware devices
15 #
16 hw_enabled=no
17 case "${target}" in
18   m68hc11-*-*|m6811-*-*)
19         hw_enabled=yes
20         hw_extra_devices="m68hc11 m68hc11sio m68hc11eepr m68hc11tim m68hc11spi nvram"
21         SIM_SUBTARGET="$SIM_SUBTARGET -DTARGET_M68HC11=1"
22         ;;
23 esac
24 SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
25
26 SIM_AC_OUTPUT