Changeset 17ad82c in rtems for testsuites/aclocal/rtems-top.m4


Ignore:
Timestamp:
Feb 19, 2004, 5:40:02 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8f1eeb91
Parents:
90357e29
Message:

2004-02-18 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_CONFIG_SRCDIR([PROBLEMS]).
  • aclocal/check-custom-bsp.m4: Sync with c/src/aclocal.
  • aclocal/project-root.m4: Remove obsolete comments.
  • aclocal/env-rtemsbsp.m4: Remove RTEMS_ROOT.
  • aclocal/rtems-top.m4: Rework.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/aclocal/rtems-top.m4

    r90357e29 r17ad82c  
    2626
    2727## with_target_subdirs is handled implicitly by autoconf
    28 test -n "$with_target_subdir" || with_target_subdir="."
     28dots=`echo $with_target_subdir|\
     29sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
     30PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
     31AC_SUBST([PROJECT_TOPdir])
    2932
    30 if test "$with_target_subdir" = "." ; then
    31 # Native
    32 PROJECT_TOPdir="${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"
    33 else
    34 # Cross
    35 dots=`echo $with_target_subdir|\
    36 sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
    37 PROJECT_TOPdir="${dots}${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"
    38 fi
    39 AC_SUBST(PROJECT_TOPdir)
     33RTEMS_ROOT=$with_rtems_root`echo "$1/" | sed 's,^../,,'`'$(top_builddir)'
     34AC_SUBST(RTEMS_ROOT)
    4035
    41 PROJECT_ROOT="${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"
     36PROJECT_ROOT=$with_project_root`echo "$1/" | sed 's,^../,,'`'$(top_builddir)'
    4237AC_SUBST(PROJECT_ROOT)
    4338
Note: See TracChangeset for help on using the changeset viewer.