summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog2
-rw-r--r--cpukit/aclocal/check-itron.m42
-rw-r--r--cpukit/aclocal/enable-itron.m46
3 files changed, 6 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 902bd4a13a..0475377301 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,7 @@
2010-04-29 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * aclocal/enable-itron.m4, aclocal/check-itron.m4: Replace
+ RTEMS_HAS_ITRON_API with enable_itron.
* librpc/src/rpc/pmap_rmt.c: Use uintptr_t for better 16bit
compliance.
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])
])