source: rtems/testsuites/aclocal/check-custom-bsp.m4 @ 893aac16

4.115
Last change on this file since 893aac16 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 524 bytes
Line 
1AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
2AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
3AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
4  for i in ${rtems_rootdir}make/custom/$1;
5  do
6    AC_MSG_CHECKING([for $i])
7    AS_IF([test -r $i],[
8      $2="$i"
9      AC_MSG_RESULT([yes])
10      break;
11    ],[
12      AC_MSG_RESULT([no])
13    ])
14  done
15])
16
17AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
18  _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
19  AS_IF([test -z "$BSP_FOUND"],[
20    AC_MSG_ERROR([missing [$]$1.cfg])
21  ])
22])
Note: See TracBrowser for help on using the repository browser.