summaryrefslogtreecommitdiffstats
path: root/aclocal/enable-itron.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 22:18:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 22:18:43 +0000
commitc73b8ac27f85ef7bc732b311da28f65e722ee7be (patch)
tree1aa0610aea4138b055ccccb8c49b924f35e845ab /aclocal/enable-itron.m4
parentRemoved. (diff)
downloadrtems-c73b8ac27f85ef7bc732b311da28f65e722ee7be.tar.bz2
This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
Diffstat (limited to 'aclocal/enable-itron.m4')
-rw-r--r--aclocal/enable-itron.m436
1 files changed, 36 insertions, 0 deletions
diff --git a/aclocal/enable-itron.m4 b/aclocal/enable-itron.m4
new file mode 100644
index 0000000000..9ce17c1c72
--- /dev/null
+++ b/aclocal/enable-itron.m4
@@ -0,0 +1,36 @@
+dnl $Id$
+
+AC_DEFUN(RTEMS_ENABLE_ITRON,
+[
+AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
+
+AC_ARG_ENABLE(itron,
+[ --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])
+AC_SUBST(RTEMS_HAS_ITRON_API)
+
+changequote(,)dnl
+case "${target}" in
+ # hpux unix port should go here
+ i[3456]86-pc-linux*) # unix "simulator" port
+ RTEMS_HAS_ITRON_API=no
+ ;;
+ i[3456]86-*freebsd2*) # 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
+changequote([,])dnl
+AC_SUBST(RTEMS_HAS_ITRON_API)
+])