Changeset ef02bc1 in rtems
- Timestamp:
- 03/26/04 03:57:24 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- dc75609
- Parents:
- 8ae203e3
- Location:
- c/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/ChangeLog
r8ae203e3 ref02bc1 1 2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * aclocal/rtems-top.m4: Add 2nd arg to RTEMS_TOP. 4 Rework with_project_root/PROJECT_ROOT and with_project_top/PROJECT_TOPdir. 5 1 6 2004-03-25 Ralf Corsepius <ralf_corsepius@rtems.org> 2 7 -
c/src/aclocal/rtems-top.m4
r8ae203e3 ref02bc1 20 20 AC_SUBST([RTEMS_TOPdir],["$1"]) 21 21 22 ## with_target_subdirs is handled implicitly by autoconf 23 dots=`echo $with_target_subdir|\ 24 sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` 22 # HACK: The sed pattern in rtems_updir matches c/src/ 23 rtems_updir=m4_if([$2],[],[`echo "$1/" | sed s,^\.\.\/\.\.\/,,`],[$2/]) 25 24 26 PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' 27 AC_SUBST([PROJECT_TOPdir]) 25 AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)']) 28 26 29 RTEMS_ROOT=`echo "$1/" | sed -e 's,^../../,,'`'$(top_builddir)' 30 AC_SUBST([RTEMS_ROOT]) 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]) 27 AC_SUBST([PROJECT_TOPdir],[${with_project_top}${rtems_updir}'$(top_builddir)']) 28 AC_SUBST([PROJECT_ROOT],[${with_project_root}${rtems_updir}'$(top_builddir)']) 37 29 38 30 AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
Note: See TracChangeset
for help on using the changeset viewer.