4.104.114.84.95
Line | |
---|
1 | dnl $Id$ |
---|
2 | dnl |
---|
3 | AC_DEFUN([RTEMS_CHECK_ITRON_API], |
---|
4 | [dnl |
---|
5 | AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl |
---|
6 | |
---|
7 | AC_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.