Changeset 713791a1 in rtems


Ignore:
Timestamp:
Nov 22, 2004, 4:08:46 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
30b4141
Parents:
51dc9b51
Message:

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

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

Legend:

Unmodified
Added
Removed
  • testsuites/ChangeLog

    r51dc9b51 r713791a1  
     12004-11-22      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * aclocal/enable-itron.m4, aclocal/check-itron.m4:
     4        Allow building itron for unix.
     5
    162004-09-24      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • testsuites/aclocal/check-itron.m4

    r51dc9b51 r713791a1  
    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])
    23 if test "$rtems_cv_HAS_ITRON_API" = "yes"; then
    24   HAS_ITRON_API="yes";
    25 else
    26   HAS_ITRON_API="no";
    27 fi
    28 AC_SUBST(HAS_ITRON_API)dnl
     15  ])
    2916])
    30 
    31 AC_DEFUN([RTEMS_DEFINE_ITRON_API],
    32 [AC_REQUIRE([RTEMS_CHECK_ITRON_API])dnl
    33 if test x"${HAS_ITRON_API}" = x"yes";
    34 then
    35   AC_DEFINE_UNQUOTED(RTEMS_ITRON_API,1,[if itron api is supported])
    36 fi
    37 ])
  • testsuites/aclocal/enable-itron.m4

    r51dc9b51 r713791a1  
    33AC_DEFUN([RTEMS_ENABLE_ITRON],
    44[
    5 ## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
    6 
    75AC_ARG_ENABLE(itron,
    8 [AS_HELP_STRING(--enable-itron,enable itron interface)],
     6AS_HELP_STRING(--enable-itron,enable itron interface),
    97[case "${enableval}" in
    108  yes) RTEMS_HAS_ITRON_API=yes ;;
     
    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.