Changeset ef02bc1 in rtems


Ignore:
Timestamp:
03/26/04 03:57:24 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
dc75609
Parents:
8ae203e3
Message:

2004-03-26 Ralf Corsepius <ralf_corsepius@…>

  • aclocal/rtems-top.m4: Add 2nd arg to RTEMS_TOP. Rework with_project_root/PROJECT_ROOT and with_project_top/PROJECT_TOPdir.
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r8ae203e3 ref02bc1  
     12004-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
    162004-03-25      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/aclocal/rtems-top.m4

    r8ae203e3 ref02bc1  
    2020AC_SUBST([RTEMS_TOPdir],["$1"])
    2121
    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/
     23rtems_updir=m4_if([$2],[],[`echo "$1/" | sed s,^\.\.\/\.\.\/,,`],[$2/])
    2524
    26 PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
    27 AC_SUBST([PROJECT_TOPdir])
     25AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)'])
    2826
    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])
     27AC_SUBST([PROJECT_TOPdir],[${with_project_top}${rtems_updir}'$(top_builddir)'])
     28AC_SUBST([PROJECT_ROOT],[${with_project_root}${rtems_updir}'$(top_builddir)'])
    3729
    3830AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
Note: See TracChangeset for help on using the changeset viewer.