source: rtems/c/src/aclocal/check-custom-bsp.m4 @ 3025a4a

4.104.114.84.95
Last change on this file since 3025a4a was 3025a4a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/12/04 at 16:56:47

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.
  • Property mode set to 100644
File size: 515 bytes
Line 
1dnl $Id$
2
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
18AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
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  ])
24])
Note: See TracBrowser for help on using the repository browser.