]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/m68hc11/configure.ac
This commit was manufactured by cvs2svn to create branch
[thirdparty/binutils-gdb.git] / sim / m68hc11 / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.59)dnl
3 AC_INIT(Makefile.in)
4 AC_CONFIG_HEADER(config.h:config.in)
5
6 sinclude(../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.
10 sinclude(../common/common.m4)
11
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
17
18 #
19 # Add simulated hardware devices
20 #
21 hw_enabled=no
22 case "${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 ;;
32 esac
33 SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
34
35 AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h fcntl.h)
36
37 AC_SUBST(m68hc11_extra_objs)
38
39 SIM_AC_OUTPUT