OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [aclocal/] [enable-itron.m4] - Blame information for rev 1780

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
dnl enable-itron.m4,v 1.1 2002/06/17 08:52:47 ralf Exp
2
 
3
AC_DEFUN(RTEMS_ENABLE_ITRON,
4
[
5
## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
6
 
7
AC_ARG_ENABLE(itron,
8
AC_HELP_STRING([--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) ;;
13
esac],[RTEMS_HAS_ITRON_API=yes])
14
 
15
case "${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
        ;;
31
esac
32
AC_SUBST(RTEMS_HAS_ITRON_API)
33
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.