OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [aclocal/] [enable-itron.m4] - Rev 1772

Go to most recent revision | Compare with Previous | Blame | View Log

dnl enable-itron.m4,v 1.1 2002/06/17 08:52:47 ralf Exp
 
AC_DEFUN(RTEMS_ENABLE_ITRON,
[
## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
 
AC_ARG_ENABLE(itron,
AC_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)
])
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.