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