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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [aclocal/] [check-itron.m4] - Blame information for rev 601

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

Line No. Rev Author Line
1 30 unneback
dnl $Id: check-itron.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
2
dnl
3
AC_DEFUN(RTEMS_CHECK_ITRON_API,
4
[dnl
5
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
6
AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl
7
 
8
AC_CACHE_CHECK([whether BSP supports libitron],
9
  rtems_cv_HAS_ITRON_API,
10
  [dnl
11
    case "$RTEMS_CPU" in
12
    unix*)
13
      rtems_cv_HAS_ITRON_API="no"
14
      ;;
15
    *)
16
      if test "${RTEMS_HAS_ITRON_API}" = "yes"; then
17
        rtems_cv_HAS_ITRON_API="yes";
18
      else
19
        rtems_cv_HAS_ITRON_API="disabled";
20
      fi
21
      ;;
22
    esac])
23
if test "$rtems_cv_HAS_ITRON_API" = "yes"; then
24
  HAS_ITRON_API="yes";
25
else
26
  HAS_ITRON_API="no";
27
fi
28
AC_SUBST(HAS_ITRON_API)dnl
29
])

powered by: WebSVN 2.1.0

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