From 292b0c38134348ece2153d1dd92db3ed9780ed1d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 29 Apr 2010 07:45:01 +0000 Subject: =?UTF-8?q?2010-04-29=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * aclocal/enable-itron.m4, aclocal/check-itron.m4: Replace RTEMS_HAS_ITRON_API with enable_itron. --- cpukit/aclocal/check-itron.m4 | 2 +- cpukit/aclocal/enable-itron.m4 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/aclocal') diff --git a/cpukit/aclocal/check-itron.m4 b/cpukit/aclocal/check-itron.m4 index fbe171ef67..0abccd27c4 100644 --- a/cpukit/aclocal/check-itron.m4 +++ b/cpukit/aclocal/check-itron.m4 @@ -7,7 +7,7 @@ AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl AC_CACHE_CHECK([whether CPU supports libitron], rtems_cv_HAS_ITRON_API, [dnl - AS_IF([test "${RTEMS_HAS_ITRON_API}" = "yes"],[ + AS_IF([test "${enable_itron}" = "yes"],[ # suppress itron if one these types is not available AS_IF([test x"$ac_cv_type_int8_t" = xyes \ && test x"$ac_cv_type_uint8_t" = xyes \ diff --git a/cpukit/aclocal/enable-itron.m4 b/cpukit/aclocal/enable-itron.m4 index f187b4b6c3..2f2c652922 100644 --- a/cpukit/aclocal/enable-itron.m4 +++ b/cpukit/aclocal/enable-itron.m4 @@ -5,8 +5,8 @@ AC_DEFUN([RTEMS_ENABLE_ITRON], AC_ARG_ENABLE([itron], AS_HELP_STRING([--enable-itron],[enable itron interface (DEPRECATED)]), [case "${enableval}" in - yes) RTEMS_HAS_ITRON_API=yes ;; - no) RTEMS_HAS_ITRON_API=no ;; + yes) enable_itron=yes ;; + no) enable_itron=no ;; *) AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;; -esac],[RTEMS_HAS_ITRON_API=no]) +esac],[enable_itron=no]) ]) -- cgit v1.2.3