source: rtems/c/src/aclocal/bsp-linkcmds.m4 @ bd39add

4.115
Last change on this file since bd39add 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: 445 bytes
Line 
1dnl Install a BSP's linkcmds from the source-tree into the build-tree
2AC_DEFUN([RTEMS_BSP_LINKCMDS],[
3LINKCMDS=
4for f in "${srcdir}/startup/linkcmds.${RTEMS_BSP}" \
5  "${srcdir}/startup/linkcmds.${RTEMS_BSP_FAMILY}" \
6  "${srcdir}/startup/linkcmds";
7do
8  AS_IF([test -f "$f"],[
9    LINKCMDS="$f"
10    break])
11done
12
13AS_IF([test -z "${LINKCMDS}"],[
14  AC_MSG_ERROR([can not determine linkcmds])])
15
16AC_CONFIG_LINKS([startup/linkcmds:${LINKCMDS}])
17])
Note: See TracBrowser for help on using the repository browser.