summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/enable-itron.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-11-22 16:08:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-11-22 16:08:46 +0000
commit713791a1d5e8348a1b8b57a5e518654109105681 (patch)
tree32e8d6dc703e481c7b5dc58fa63f7c0ddcb0f031 /testsuites/aclocal/enable-itron.m4
parent51dc9b5116184600d37091e0076c00a5fc316741 (diff)
downloadrtems-713791a1d5e8348a1b8b57a5e518654109105681.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 'testsuites/aclocal/enable-itron.m4')
-rw-r--r--testsuites/aclocal/enable-itron.m423
1 files changed, 1 insertions, 22 deletions
diff --git a/testsuites/aclocal/enable-itron.m4 b/testsuites/aclocal/enable-itron.m4
index 890fc35e26..701d161ed7 100644
--- a/testsuites/aclocal/enable-itron.m4
+++ b/testsuites/aclocal/enable-itron.m4
@@ -2,32 +2,11 @@ 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)],
+AS_HELP_STRING(--enable-itron,enable itron interface),
[case "${enableval}" in
yes) RTEMS_HAS_ITRON_API=yes ;;
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)
])