source: rtems/aclocal/enable-itron.m4 @ 21d7de3a

4.104.114.84.95
Last change on this file since 21d7de3a was 5913d94, checked in by Joel Sherrill <joel.sherrill@…>, on 11/09/00 at 17:01:25

2000-11-09 Ralf Corsepius <corsepiu@…>

  • aclocal/enable-itron.m4: Remove changequotes (autoconf-2.49b).
  • aclocal/enable-posix.m4: Remove changequotes (autoconf-2.49b), use $host instead of $target (BUG-FIX).
  • configure.in: Use $target and $host instead of $target_alias and $host_alias (autoconf-2.49b).
  • aclocal/check-newlib.m4: Remove CC_FOR_TARGET (BUG-FIX)
  • aclocal/sysv-ipc.m4: Move AC_DEFINE outside of AC_CACHE (BUG-FIX)

NOTES:

  • autoconf-2.49b depredicates using changequotes.
  • The changes to configure.in are due to cleanups in autoconf-2.49b's implemention of canonicalization. With autoconf-2.1x it wasn't always clear, when to use $xxx or $xxx_alias. Now this is clear.
  • Property mode set to 100644
File size: 767 bytes
Line 
1dnl $Id$
2
3AC_DEFUN(RTEMS_ENABLE_ITRON,
4[
5## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
6
7AC_ARG_ENABLE(itron,
8[  --enable-itron                       enable itron interface],
9[case "${enableval}" in
10  yes) RTEMS_HAS_ITRON_API=yes ;;
11  no) RTEMS_HAS_ITRON_API=no ;;
12  *)  AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;;
13esac],[RTEMS_HAS_ITRON_API=yes])
14
15case "${host}" in
16  # hpux unix port should go here
17  i[[34567]]86-pc-linux*)         # unix "simulator" port
18        RTEMS_HAS_ITRON_API=no
19        ;;
20  i[[34567]]86-*freebsd*) # unix "simulator" port
21        RTEMS_HAS_ITRON_API=no
22        ;;
23  no_cpu-*rtems*)
24        RTEMS_HAS_ITRON_API=no
25        ;;
26  sparc-sun-solaris*)             # unix "simulator" port
27        RTEMS_HAS_ITRON_API=no
28        ;;
29  *)
30        ;;
31esac
32AC_SUBST(RTEMS_HAS_ITRON_API)
33])
Note: See TracBrowser for help on using the repository browser.