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

4.104.114.84.95
Last change on this file since c6e26e06 was c6e26e06, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/11/04 at 12:21:40

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

  • aclocal/rtems-top.m4: Don't AC_SUBST PROJECT_ROOT. Remove PROJECT_TOPdir (Unused).
  • aclocal/env-rtemscpu.m4: Remove PROJECT_RELEASE. Expand ${PROJECT_ROOT}. Remove RTEMS_ENABLE_BARE (Unused). Don't AC_SUBST RTEMS_BSP.
  • aclocal/enable-bare.m4: Remove (Unused).
  • Property mode set to 100644
File size: 750 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.in to the toplevel configure.in
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
26PROJECT_ROOT="${with_project_root}${RTEMS_TOPdir}/\$(MULTIBUILDTOP)\$(top_builddir)"
27
28AC_MSG_CHECKING([for RTEMS Version])
29AC_MSG_RESULT([_RTEMS_VERSION])
30
31AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
32])dnl
Note: See TracBrowser for help on using the repository browser.