summaryrefslogtreecommitdiffstats
path: root/aclocal/check-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/check-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 '')
-rw-r--r--aclocal/check-itron.m429
1 files changed, 29 insertions, 0 deletions
diff --git a/aclocal/check-itron.m4 b/aclocal/check-itron.m4
new file mode 100644
index 0000000000..e30023b341
--- /dev/null
+++ b/aclocal/check-itron.m4
@@ -0,0 +1,29 @@
+dnl $Id$
+dnl
+AC_DEFUN(RTEMS_CHECK_ITRON_API,
+[dnl
+AC_REQUIRE([RTEMS_CHECK_CPU])dnl
+AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl
+
+AC_CACHE_CHECK([whether BSP 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
+])