source: rtems/c/src/aclocal/rtems-top.m4 @ 9b5e72b

4.104.114.84.95
Last change on this file since 9b5e72b was 9b5e72b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/18/06 at 03:37:19

2006-10-18 Ralf Corsépius <ralf.corsepius@…>

  • aclocal/rtems-top.m4: Remove RTEMS_API.
  • aclocal/version.m4: Add RTEMS_API. Bump RTEMS_API to 4.8.
  • Property mode set to 100644
File size: 847 bytes
RevLine 
[867ab080]1dnl $Id$
2
3dnl
4dnl RTEMS_TOP($1)
5dnl
6dnl $1 .. relative path from this configure.in to the toplevel configure.in
7dnl
[9550125e]8AC_DEFUN([RTEMS_TOP],
[867ab080]9[dnl
10AC_REQUIRE([RTEMS_VERSIONING])
[82bdc057]11AC_REQUIRE([AM_SET_LEADING_DOT])
[867ab080]12AC_CONFIG_AUX_DIR([$1])
13AC_CHECK_PROGS(MAKE, gmake make)
14AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
15
[ac3786b]16AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
[867ab080]17
[789694a1]18AC_SUBST([RTEMS_TOPdir],["$1"])
[867ab080]19
[ef02bc1]20# HACK: The sed pattern in rtems_updir matches c/src/
[0598fb8]21rtems_updir=m4_if([$2],[],[`echo "$1/" | sed 's,^\.\.\/\.\.\/,,'`],[$2/])
[789694a1]22
[0d0528d3]23AS_IF([test -n "${with_target_subdir}"],
24  [project_top="../${with_project_top}"],
25  [project_top="${with_project_top}"])
26AC_SUBST([PROJECT_TOPdir],[${project_top}${rtems_updir}'$(top_builddir)'])
27
[ef02bc1]28AC_SUBST([PROJECT_ROOT],[${with_project_root}${rtems_updir}'$(top_builddir)'])
[82bdc057]29
30AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
[867ab080]31])dnl
Note: See TracBrowser for help on using the repository browser.