summaryrefslogtreecommitdiffstats
path: root/c/src/make/aclocal
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/make/aclocal')
-rw-r--r--c/src/make/aclocal/enable-itron.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/c/src/make/aclocal/enable-itron.m4 b/c/src/make/aclocal/enable-itron.m4
new file mode 100644
index 0000000000..14fefa9839
--- /dev/null
+++ b/c/src/make/aclocal/enable-itron.m4
@@ -0,0 +1,16 @@
+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
+ 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)
+])