source: rtems/c/acinclude.m4 @ 960fd85

4.115
Last change on this file since 960fd85 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 
1dnl
2dnl Misc utility macros for subdir handling to work around missing abilities
3dnl in autoconf, automake and structural issues with RTEMS
4dnl
5dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus'
6dnl configure.in.
7dnl
8
9dnl
10dnl _AC_DOTS(PATH)
11dnl
12AC_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
18dnl
19dnl _RTEMS_ADJUST_SRCDIR(REVAR,CONFIG_DIR[,TARGET_SUBDIR])
20dnl
21AC_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.