source: rtems/cpukit/aclocal/rtems-top.m4 @ faf45cc

4.104.114.84.95
Last change on this file since faf45cc was faf45cc, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/21/04 at 17:56:37

2004-01-21 Ralf Corsepius <corsepiu@…>

  • aclocal/rtems-top.m4: Remove PROJECT_ROOT. Prepend ../ to $1.
  • aclocal/env-rtemscpu.m4: Reworked.
  • configure.ac: RTEMS_TOP(.).
  • Property mode set to 100644
File size: 667 bytes
Line 
1dnl $Id$
2
3m4_define([RTEMS_API],[4.7])
4
5dnl
6dnl RTEMS_TOP($1)
7dnl
8dnl $1 .. relative path from this configure.ac to the toplevel configure.ac
9dnl
10AC_DEFUN([RTEMS_TOP],
11[dnl
12AC_REQUIRE([RTEMS_VERSIONING])
13AC_REQUIRE([AM_SET_LEADING_DOT])
14AC_CONFIG_AUX_DIR([../$1])
15AC_CHECK_PROGS(MAKE, gmake make)
16AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
17
18AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
19
20RTEMS_TOPdir="$1";
21AC_SUBST(RTEMS_TOPdir)
22
23## with_target_subdirs is handled implicitly by autoconf
24test -n "$with_target_subdir" || with_target_subdir="."
25
26AC_MSG_CHECKING([for RTEMS Version])
27AC_MSG_RESULT([_RTEMS_VERSION])
28
29AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
30])dnl
Note: See TracBrowser for help on using the repository browser.