Changeset 3025a4a in rtems


Ignore:
Timestamp:
Feb 12, 2004, 4:56:47 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 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.
Location:
c/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r717a34e9 r3025a4a  
     12004-02-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * aclocal/bspopts.m4: Use AS_HELP_STRING.
     4        * aclocal/bsp-configure.m4: Require autoconf-2.59.
     5        Use AC_CONFIG_HEADERS.
     6        * aclocal/check-custom-bsp.m4: Add bspkit-support.
     7        * aclocal/enable-rtemsbsp.m4: Use AS_HELP_STRING.
     8
    192004-02-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    210
  • c/src/aclocal/bsp-configure.m4

    r717a34e9 r3025a4a  
    55AC_DEFUN([RTEMS_BSP_CONFIGURE],
    66[
    7   AC_PREREQ([2.57])
     7  AC_PREREQ(2.59)
    88  AM_MAINTAINER_MODE
    99  RTEMS_ENV_RTEMSBSP
     
    1111  RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    1212
    13   AM_CONFIG_HEADER([include/bspopts.tmp:include/bspopts.h.in],[
     13  AC_CONFIG_HEADERS([include/bspopts.tmp:include/bspopts.h.in],[
    1414echo "/* BSP dependent options file */"         >$tmp/config.h
    1515echo "/* automatically generated -- DO NOT EDIT!! */" >>$tmp/config.h
  • c/src/aclocal/bspopts.m4

    r717a34e9 r3025a4a  
    6262[
    6363m4_expand_once([m4_divert_once([HELP_VAR],
    64 [AC_HELP_STRING([$1], [$2], [              ])])],
     64[AS_HELP_STRING($1,$2,              )])],
    6565      [$0($1)])dnl
    6666])
  • 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])
  • c/src/aclocal/enable-rtemsbsp.m4

    r717a34e9 r3025a4a  
    88AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
    99AC_ARG_ENABLE(rtemsbsp,
    10 [AC_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
    11 [BSPs to include in build])],
     10[AS_HELP_STRING(--enable-rtemsbsp="bsp1 bsp2 ..",BSPs to include in build)],
    1211[case "${enableval}" in
    1312  yes|no) AC_MSG_ERROR([missing argument to --enable-rtemsbsp="bsp1 bsp2"]);;
Note: See TracChangeset for help on using the changeset viewer.