source: rtems/testsuites/aclocal/env-rtemsbsp.m4 @ 95c1921

Last change on this file since 95c1921 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

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: 885 bytes
Line 
1dnl Pass a single BSP via an environment variable
2dnl used by per BSP configure scripts
3AC_DEFUN([RTEMS_ENV_RTEMSBSP],
4[dnl
5AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
6AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
7AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
8
9AC_ARG_VAR([RTEMS_BSP_FAMILY],[RTEMS's BSP directory])
10
11AC_ARG_VAR([RTEMS_BSP],[RTEMS_BSP to build])
12AC_MSG_CHECKING([for RTEMS_BSP])
13AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
14[dnl
15  test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
16])dnl
17if test -z "$rtems_cv_RTEMS_BSP"; then
18  AC_MSG_ERROR([Missing RTEMS_BSP])
19fi
20RTEMS_BSP="$rtems_cv_RTEMS_BSP"
21AC_MSG_RESULT(${RTEMS_BSP})
22AC_SUBST(RTEMS_BSP)
23
24AC_SUBST([PROJECT_INCLUDE],["\$(PROJECT_ROOT)/lib/include"])
25AC_SUBST([PROJECT_LIB],["\$(PROJECT_ROOT)/lib"])
26AC_SUBST([PROJECT_RELEASE],["\$(PROJECT_ROOT)"])
27
28AC_SUBST([rtems_testsdir],["\$(libdir)/rtems-][_RTEMS_API][/tests"])
29])
Note: See TracBrowser for help on using the repository browser.