source:
rtems/cpukit/aclocal/rtems-top.m4
@
c6e26e06
Last change on this file since c6e26e06 was c6e26e06, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/11/04 at 12:21:40 | |
---|---|
|
|
File size: 750 bytes |
Rev | Line | |
---|---|---|
[ed8ec1c] | 1 | dnl $Id$ |
2 | ||
[ac3786b] | 3 | m4_define([RTEMS_API],[4.7]) |
4 | ||
[ed8ec1c] | 5 | dnl |
6 | dnl RTEMS_TOP($1) | |
7 | dnl | |
8 | dnl $1 .. relative path from this configure.in to the toplevel configure.in | |
9 | dnl | |
[863fb4f] | 10 | AC_DEFUN([RTEMS_TOP], |
[ed8ec1c] | 11 | [dnl |
12 | AC_REQUIRE([RTEMS_VERSIONING]) | |
[e3407a4] | 13 | AC_REQUIRE([AM_SET_LEADING_DOT]) |
[d2c26e4b] | 14 | AC_CONFIG_AUX_DIR([$1]) |
[ed8ec1c] | 15 | AC_CHECK_PROGS(MAKE, gmake make) |
16 | AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl | |
17 | ||
[ac3786b] | 18 | AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API]) |
[ed8ec1c] | 19 | |
20 | RTEMS_TOPdir="$1"; | |
21 | AC_SUBST(RTEMS_TOPdir) | |
22 | ||
23 | ## with_target_subdirs is handled implicitly by autoconf | |
24 | test -n "$with_target_subdir" || with_target_subdir="." | |
25 | ||
[14620166] | 26 | PROJECT_ROOT="${with_project_root}${RTEMS_TOPdir}/\$(MULTIBUILDTOP)\$(top_builddir)" |
[ed8ec1c] | 27 | |
28 | AC_MSG_CHECKING([for RTEMS Version]) | |
29 | AC_MSG_RESULT([_RTEMS_VERSION]) | |
[e3407a4] | 30 | |
31 | AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp]) | |
[ed8ec1c] | 32 | ])dnl |
Note: See TracBrowser
for help on using the repository browser.