4.104.114.84.95
Last change
on this file since a922482b was
789694a1,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/20/04 at 01:22:04
|
2004-02-20 Ralf Corsepius <corsepiu@…>
- acinclude.m4: Fix loosing arguments when configuring cpukit and
testsuites (Was exposed with --enable-multilib, only).
Remove RTEMS_SUBCONFIGURE_ARGS_QUOTE. RTEMS_CONFIG_SUBDIR.
Add RTEMS_BSP_CONFIG_SUBDIR.
- configure.ac: Reflect changes to acinclude.m4. Reflect new args to
testsuites's configure.
- aclocal/rtems-top.m4: Remove ENDIF hack.
Rework and fix setting up PROJECT_TOPdir (PACKHEX wasn't found).
|
-
Property mode set to
100644
|
File size:
949 bytes
|
Rev | Line | |
---|
[867ab080] | 1 | dnl $Id$ |
---|
| 2 | |
---|
[ac3786b] | 3 | m4_define([RTEMS_API],[4.7]) |
---|
| 4 | |
---|
[867ab080] | 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 |
---|
[9550125e] | 10 | AC_DEFUN([RTEMS_TOP], |
---|
[867ab080] | 11 | [dnl |
---|
| 12 | AC_REQUIRE([RTEMS_VERSIONING]) |
---|
[82bdc057] | 13 | AC_REQUIRE([AM_SET_LEADING_DOT]) |
---|
[867ab080] | 14 | AC_CONFIG_AUX_DIR([$1]) |
---|
| 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]) |
---|
[867ab080] | 19 | |
---|
[789694a1] | 20 | AC_SUBST([RTEMS_TOPdir],["$1"]) |
---|
[867ab080] | 21 | |
---|
| 22 | ## with_target_subdirs is handled implicitly by autoconf |
---|
| 23 | dots=`echo $with_target_subdir|\ |
---|
[789694a1] | 24 | sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` |
---|
| 25 | |
---|
[867ab080] | 26 | PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' |
---|
[789694a1] | 27 | AC_SUBST([PROJECT_TOPdir]) |
---|
| 28 | |
---|
| 29 | RTEMS_ROOT=`echo "$1/" | sed -e 's,^../../,,'`'$(top_builddir)' |
---|
| 30 | AC_SUBST([RTEMS_ROOT]) |
---|
[867ab080] | 31 | |
---|
| 32 | PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)" |
---|
| 33 | AC_SUBST(PROJECT_ROOT) |
---|
| 34 | |
---|
| 35 | AC_MSG_CHECKING([for RTEMS Version]) |
---|
| 36 | AC_MSG_RESULT([_RTEMS_VERSION]) |
---|
[82bdc057] | 37 | |
---|
| 38 | AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp]) |
---|
[867ab080] | 39 | ])dnl |
---|
Note: See
TracBrowser
for help on using the repository browser.