source: rtems/cpukit/aclocal/check-itron.m4 @ 943fe10

4.104.114.84.95
Last change on this file since 943fe10 was 943fe10, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/18/06 at 03:14:37

Integrate ITRON-type checks.

  • Property mode set to 100644
File size: 603 bytes
Line 
1dnl $Id$
2dnl
3AC_DEFUN([RTEMS_CHECK_ITRON_API],
4[dnl
5AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl
6
7AC_CACHE_CHECK([whether CPU supports libitron],
8  rtems_cv_HAS_ITRON_API,
9  [dnl
10    AS_IF([test "${RTEMS_HAS_ITRON_API}" = "yes"],[
11# suppress itron if one these types is not available
12      AS_IF([test x"$ac_cv_type_int8_t" = xyes \
13        && test x"$ac_cv_type_uint8_t" = xyes \
14        && test x"$ac_cv_type_int16_t" = xyes \
15        && test x"$ac_cv_type_uint16_t" = xyes],
16      [rtems_cv_HAS_ITRON_API=yes],
17      [rtems_cv_HAS_ITRON_API=no])
18    ],[
19      rtems_cv_HAS_ITRON_API="disabled"
20    ])
21  ])
22])
Note: See TracBrowser for help on using the repository browser.