4.115
Last change
on this file since 0f77281 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:
806 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl Misc utility macros for subdir handling to work around missing abilities |
---|
3 | dnl in autoconf, automake and structural issues with RTEMS |
---|
4 | dnl |
---|
5 | dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus' |
---|
6 | dnl configure.in. |
---|
7 | dnl |
---|
8 | |
---|
9 | dnl |
---|
10 | dnl _AC_DOTS(PATH) |
---|
11 | dnl |
---|
12 | AC_DEFUN([_AC_DOTS],[ |
---|
13 | # A "../" for each directory in $1. |
---|
14 | ac_dots=`echo $1 | \ |
---|
15 | sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` |
---|
16 | ]) |
---|
17 | |
---|
18 | dnl |
---|
19 | dnl _RTEMS_ADJUST_SRCDIR(REVAR,CONFIG_DIR[,TARGET_SUBDIR]) |
---|
20 | dnl |
---|
21 | AC_DEFUN([_RTEMS_ADJUST_SRCDIR],[ |
---|
22 | _AC_DOTS(ifelse([$3], ,[$2],[$3/$2])) |
---|
23 | |
---|
24 | case "$srcdir" in |
---|
25 | .) # No --srcdir option. We are building in place. |
---|
26 | $1=$srcdir ;; |
---|
27 | [[\\/]]* | ?:[[\\/]]*) # Absolute path. |
---|
28 | $1=$srcdir/$2 ;; |
---|
29 | *) # Relative path. |
---|
30 | $1=$ac_dots$srcdir/$2 ;; |
---|
31 | esac |
---|
32 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.