From 713791a1d5e8348a1b8b57a5e518654109105681 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 22 Nov 2004 16:08:46 +0000 Subject: 2004-11-22 Ralf Corsepius * aclocal/enable-itron.m4, aclocal/check-itron.m4: Allow building itron for unix. --- testsuites/aclocal/check-itron.m4 | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'testsuites/aclocal/check-itron.m4') diff --git a/testsuites/aclocal/check-itron.m4 b/testsuites/aclocal/check-itron.m4 index 75e2134276..3beefa985b 100644 --- a/testsuites/aclocal/check-itron.m4 +++ b/testsuites/aclocal/check-itron.m4 @@ -2,36 +2,15 @@ dnl $Id$ dnl AC_DEFUN([RTEMS_CHECK_ITRON_API], [dnl -AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl AC_CACHE_CHECK([whether CPU supports libitron], rtems_cv_HAS_ITRON_API, [dnl - case "$RTEMS_CPU" in - unix*) - rtems_cv_HAS_ITRON_API="no" - ;; - *) if test "${RTEMS_HAS_ITRON_API}" = "yes"; then rtems_cv_HAS_ITRON_API="yes"; else rtems_cv_HAS_ITRON_API="disabled"; fi - ;; - esac]) -if test "$rtems_cv_HAS_ITRON_API" = "yes"; then - HAS_ITRON_API="yes"; -else - HAS_ITRON_API="no"; -fi -AC_SUBST(HAS_ITRON_API)dnl -]) - -AC_DEFUN([RTEMS_DEFINE_ITRON_API], -[AC_REQUIRE([RTEMS_CHECK_ITRON_API])dnl -if test x"${HAS_ITRON_API}" = x"yes"; -then - AC_DEFINE_UNQUOTED(RTEMS_ITRON_API,1,[if itron api is supported]) -fi + ]) ]) -- cgit v1.2.3