source: rtems/aclocal/rtems-top.m4 @ 9b4422a2

4.115
Last change on this file since 9b4422a2 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: 869 bytes
RevLine 
[9622f254]1# AC_DISABLE_OPTION_CHECKING is not available before 2.62
2AC_PREREQ(2.62)
3
[9b8baa1]4dnl
5dnl RTEMS_TOP($1)
6dnl
7dnl $1 .. relative path from this configure.in to the toplevel configure.in
8dnl
[3959276e]9AC_DEFUN([RTEMS_TOP],
[9ec96478]10[dnl
[76d527ec]11AC_REQUIRE([RTEMS_VERSIONING])
[9622f254]12AC_REQUIRE([AC_DISABLE_OPTION_CHECKING])
[89b51f4]13AC_CONFIG_AUX_DIR([$1])
[3207f0a]14AC_CHECK_PROGS(MAKE, gmake make)
[b62a92c]15AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
16
[b42cae7]17AC_PREFIX_DEFAULT([/opt/rtems-][_RTEMS_API])
[e712997]18
[9ec96478]19RTEMS_TOPdir="$1";
20AC_SUBST(RTEMS_TOPdir)
21
[2e0fd427]22dots=`echo $with_target_subdir|\
[6e2ef53f]23sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
[2e0fd427]24PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
25AC_SUBST(PROJECT_TOPdir)
26
[ba748523]27PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
[2e0fd427]28AC_SUBST(PROJECT_ROOT)
29
[9b8baa1]30AC_MSG_CHECKING([for RTEMS Version])
[76d527ec]31AC_MSG_RESULT([_RTEMS_VERSION])
[44dd5dc4]32pkgdatadir="${datadir}"/rtems[]_RTEMS_API;
33AC_SUBST([pkgdatadir])
[9ec96478]34])dnl
Note: See TracBrowser for help on using the repository browser.