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

4.11
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

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