OSDN Git Service

Use datarootdir for locales.
[pf3gnuchains/pf3gnuchains4x.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         m68hc11_extra_objs="dv-sockser.o"
23         SIM_SUBTARGET="$SIM_SUBTARGET -DTARGET_M68HC11=1"
24         ;;
25   *)
26         m68hc11_extra_objs="" 
27         ;;
28 esac
29 SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
30
31 AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h fcntl.h)
32
33 AC_SUBST(m68hc11_extra_objs)
34
35 SIM_AC_OUTPUT