Changeset 1b16e63c in rtems for cpukit/aclocal/rtems-top.m4


Ignore:
Timestamp:
Jul 5, 2002, 4:13:07 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
02ccf4a
Parents:
51b4875
Message:

2002-07-05 Ralf Corsepius <corsepiu@…>

  • automake/multilib.am: Add install-multi.
  • aclocal/rtems-top.m4: Reflect new RTEMS_TOPdir to detecting version.m4. Add --with-project-root. Reflect --with-project-root to setting up PROJECT_ROOT.
  • aclocal/env-rtemscpu.m4: Reflect new RTEMS_TOPdir (HACK).
  • aclocal/check-cpu.m4: Reflect new RTEMS_TOPdir.
  • aclocal/check-bsps.m4: Reflect new RTEMS_TOPdir.
File:
1 edited

Legend:

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

    r51b4875 r1b16e63c  
    3636AC_SUBST(PROJECT_TOPdir)
    3737
    38 if test "$with_target_subdir" = "." ; then
    39 # Native
    40 PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
    41 else
    42 # Cross
    43 PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
    44 fi
     38AS_IF([test "${with_project_root+set}" = set],
     39  [PROJECT_ROOT="${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"],
     40  [PROJECT_ROOT="../../${RTEMS_TOPdir}/\$(top_builddir)"])
    4541AC_SUBST(PROJECT_ROOT)
    4642
    4743AC_MSG_CHECKING([for RTEMS Version])
    48 AS_IF([test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"],
     44AS_IF([test -r "${srcdir}/${RTEMS_TOPdir}/exec/aclocal/version.m4"],
    4945[],
    50 [AC_MSG_ERROR([Unable to find ${RTEMS_TOPdir}/aclocal/version.m4])])
     46[AC_MSG_ERROR([Unable to find ${RTEMS_TOPdir}/exec/aclocal/version.m4])])
    5147AC_MSG_RESULT([_RTEMS_VERSION])
    5248])dnl
Note: See TracChangeset for help on using the changeset viewer.