diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-11-22 13:52:17 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-11-22 13:52:17 +0000 |
commit | a1ca28d98790cbdccdcf38d0950ae3746d820ec9 (patch) | |
tree | 78aed6f832bc211d9bd467c47bc523eb92c51533 /cpukit/aclocal | |
parent | 2004-11-22 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-a1ca28d98790cbdccdcf38d0950ae3746d820ec9.tar.bz2 |
2004-11-22 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/enable-itron.m4, aclocal/check-itron.m4:
Allow building itron for unix.
Diffstat (limited to 'cpukit/aclocal')
-rw-r--r-- | cpukit/aclocal/check-itron.m4 | 9 | ||||
-rw-r--r-- | cpukit/aclocal/enable-itron.m4 | 21 |
2 files changed, 1 insertions, 29 deletions
diff --git a/cpukit/aclocal/check-itron.m4 b/cpukit/aclocal/check-itron.m4 index 88f4013e5e..3beefa985b 100644 --- a/cpukit/aclocal/check-itron.m4 +++ b/cpukit/aclocal/check-itron.m4 @@ -2,22 +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]) + ]) ]) diff --git a/cpukit/aclocal/enable-itron.m4 b/cpukit/aclocal/enable-itron.m4 index 552e8df267..701d161ed7 100644 --- a/cpukit/aclocal/enable-itron.m4 +++ b/cpukit/aclocal/enable-itron.m4 @@ -2,8 +2,6 @@ dnl $Id$ AC_DEFUN([RTEMS_ENABLE_ITRON], [ -## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl - AC_ARG_ENABLE(itron, AS_HELP_STRING(--enable-itron,enable itron interface), [case "${enableval}" in @@ -11,23 +9,4 @@ AS_HELP_STRING(--enable-itron,enable itron interface), no) RTEMS_HAS_ITRON_API=no ;; *) AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;; esac],[RTEMS_HAS_ITRON_API=yes]) - -case "${host}" in - # hpux unix port should go here - i[[34567]]86-pc-linux*) # unix "simulator" port - RTEMS_HAS_ITRON_API=no - ;; - i[[34567]]86-*freebsd*) # unix "simulator" port - RTEMS_HAS_ITRON_API=no - ;; - no_cpu-*rtems*) - RTEMS_HAS_ITRON_API=no - ;; - sparc-sun-solaris*) # unix "simulator" port - RTEMS_HAS_ITRON_API=no - ;; - *) - ;; -esac -AC_SUBST(RTEMS_HAS_ITRON_API) ]) |