]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/m68hc11/configure.ac
Update year range in copyright notice of all files owned by the GDB project.
[thirdparty/binutils-gdb.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_INLINE()
10 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
11 SIM_AC_OPTION_HOSTENDIAN
12 SIM_AC_OPTION_WARNINGS
13
14 #
15 # Add simulated hardware devices
16 #
17 hw_enabled=no
18 case "${target}" in
19 m68hc11-*-*|m6811-*-*)
20 hw_enabled=yes
21 hw_extra_devices="m68hc11 m68hc11sio m68hc11eepr m68hc11tim m68hc11spi nvram"
22 SIM_SUBTARGET="$SIM_SUBTARGET -DTARGET_M68HC11=1"
23 ;;
24 *)
25 m68hc11_extra_objs=""
26 ;;
27 esac
28 SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
29
30 AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h fcntl.h)
31
32 m68hc11_extra_objs="$SIM_DV_SOCKSER_O"
33 AC_SUBST(m68hc11_extra_objs)
34
35 SIM_AC_OUTPUT