5
Last change
on this file since 2086948a 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:
661 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl RTEMS_BSP_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE]) |
---|
3 | dnl |
---|
4 | dnl Accept --enable-FEATURE=<RTEMS_BSP>:<bsp-value> and |
---|
5 | dnl --enable-FEATURE=<value> in BSP-configure scripts. |
---|
6 | dnl |
---|
7 | dnl Configure scripts will receive <bsp-value> if <RTEMS_BSP> matches the |
---|
8 | dnl actual value of the shell variable RTEMS_BSP (cf. RTEMS_ENV_RTEMSBSP), |
---|
9 | dnl and the raw value passed to --enable-FEATURE otherwise. |
---|
10 | dnl |
---|
11 | AC_DEFUN([RTEMS_BSP_ARG_ENABLE], |
---|
12 | [AC_REQUIRE([RTEMS_ENV_RTEMSBSP]) |
---|
13 | AC_ARG_ENABLE([$1],[$2], |
---|
14 | [enableval=`echo "[$enable_]patsubst([$1], -, _)" | sed -e "s%^${RTEMS_BSP}:%%"` |
---|
15 | eval "[enable_]patsubst([$1], -, _)='$enableval'" |
---|
16 | $3],[$4]) |
---|
17 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.