Ignore:
Timestamp:
Feb 12, 2004, 4:56:47 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a03c1ab
Parents:
717a34e9
Message:

2004-02-12 Ralf Corsepius <corsepiu@…>

  • aclocal/bspopts.m4: Use AS_HELP_STRING.
  • aclocal/bsp-configure.m4: Require autoconf-2.59. Use AC_CONFIG_HEADERS.
  • aclocal/check-custom-bsp.m4: Add bspkit-support.
  • aclocal/enable-rtemsbsp.m4: Use AS_HELP_STRING.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/aclocal/check-custom-bsp.m4

    r717a34e9 r3025a4a  
    11dnl $Id$
    22
     3AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
     4  for i in ${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}/*/$1 \
     5    ${srcdir}/${RTEMS_TOPdir}/make/custom/$1;
     6  do
     7    AC_MSG_CHECKING([for $i])
     8    AS_IF([test -r $i],[
     9      $2="$i"
     10      AC_MSG_RESULT([yes])
     11      break;
     12    ],[
     13      AC_MSG_RESULT([no])
     14    ])
     15  done
     16])
     17
    318AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
    4 AC_REQUIRE([RTEMS_TOP])
    5 
    6 AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
    7 AS_IF([test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"],
    8   [AC_MSG_RESULT([yes])],
    9   [AC_MSG_ERROR([no])])
     19  AC_REQUIRE([RTEMS_TOP])
     20  _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
     21  AS_IF([test -z "$BSP_FOUND"],[
     22    AC_MSG_ERROR([missing [$]$1.cfg])
     23  ])
    1024])
Note: See TracChangeset for help on using the changeset viewer.