forked from Imagelibrary/rtems
Integrate ITRON-type checks.
This commit is contained in:
@@ -7,10 +7,16 @@ AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl
|
|||||||
AC_CACHE_CHECK([whether CPU supports libitron],
|
AC_CACHE_CHECK([whether CPU supports libitron],
|
||||||
rtems_cv_HAS_ITRON_API,
|
rtems_cv_HAS_ITRON_API,
|
||||||
[dnl
|
[dnl
|
||||||
if test "${RTEMS_HAS_ITRON_API}" = "yes"; then
|
AS_IF([test "${RTEMS_HAS_ITRON_API}" = "yes"],[
|
||||||
rtems_cv_HAS_ITRON_API="yes";
|
# suppress itron if one these types is not available
|
||||||
else
|
AS_IF([test x"$ac_cv_type_int8_t" = xyes \
|
||||||
rtems_cv_HAS_ITRON_API="disabled";
|
&& test x"$ac_cv_type_uint8_t" = xyes \
|
||||||
fi
|
&& test x"$ac_cv_type_int16_t" = xyes \
|
||||||
|
&& test x"$ac_cv_type_uint16_t" = xyes],
|
||||||
|
[rtems_cv_HAS_ITRON_API=yes],
|
||||||
|
[rtems_cv_HAS_ITRON_API=no])
|
||||||
|
],[
|
||||||
|
rtems_cv_HAS_ITRON_API="disabled"
|
||||||
|
])
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user