Changeset a1ca28d in rtems for cpukit/aclocal


Ignore:
Timestamp:
Nov 22, 2004, 1:52:17 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
51dc9b51
Parents:
98031ea
Message:

2004-11-22 Ralf Corsepius <ralf.corsepius@…>

  • aclocal/enable-itron.m4, aclocal/check-itron.m4: Allow building itron for unix.
Location:
cpukit/aclocal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/aclocal/check-itron.m4

    r98031ea ra1ca28d  
    33AC_DEFUN([RTEMS_CHECK_ITRON_API],
    44[dnl
    5 AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
    65AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl
    76
     
    98  rtems_cv_HAS_ITRON_API,
    109  [dnl
    11     case "$RTEMS_CPU" in
    12     unix*)
    13       rtems_cv_HAS_ITRON_API="no"
    14       ;;
    15     *)
    1610      if test "${RTEMS_HAS_ITRON_API}" = "yes"; then
    1711        rtems_cv_HAS_ITRON_API="yes";
     
    1913        rtems_cv_HAS_ITRON_API="disabled";
    2014      fi
    21       ;;
    22     esac])
     15  ])
    2316])
  • cpukit/aclocal/enable-itron.m4

    r98031ea ra1ca28d  
    33AC_DEFUN([RTEMS_ENABLE_ITRON],
    44[
    5 ## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
    6 
    75AC_ARG_ENABLE(itron,
    86AS_HELP_STRING(--enable-itron,enable itron interface),
     
    1210  *)  AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;;
    1311esac],[RTEMS_HAS_ITRON_API=yes])
    14 
    15 case "${host}" in
    16   # hpux unix port should go here
    17   i[[34567]]86-pc-linux*)         # unix "simulator" port
    18         RTEMS_HAS_ITRON_API=no
    19         ;;
    20   i[[34567]]86-*freebsd*) # unix "simulator" port
    21         RTEMS_HAS_ITRON_API=no
    22         ;;
    23   no_cpu-*rtems*)
    24         RTEMS_HAS_ITRON_API=no
    25         ;;
    26   sparc-sun-solaris*)             # unix "simulator" port
    27         RTEMS_HAS_ITRON_API=no
    28         ;;
    29   *)
    30         ;;
    31 esac
    32 AC_SUBST(RTEMS_HAS_ITRON_API)
    3312])
Note: See TracChangeset for help on using the changeset viewer.