Changeset 2e0fd427 in rtems for aclocal/rtems-top.m4


Ignore:
Timestamp:
Nov 2, 2000, 3:44:04 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a314d3b4
Parents:
8262fda
Message:

2000-11-02 Ralf Corsepius <corsepiu@…>

  • aclocal/*: Replace with contents of macros/*.m4
  • macros/: Remove.
  • aclocal/ar-s.m4 aclocal/tool-prefix.m4: Remove.
  • Makefile.am: Reflect changes to aclocal/ and macros/.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/rtems-top.m4

    r8262fda r2e0fd427  
    1616AC_SUBST(ENDIF)
    1717
    18 ## HACK to destinguish between using GNU and RTEMS canonicalization
    19 AM_CONDITIONAL(RTEMS_CANONICALIZATION,test x=x)
    20 
     18# with_target_subdir
    2119AC_ARG_WITH(target-subdir,
    2220[  --with-target-subdir=DIR],
    23 TARGET_SUBDIR="$withval",
    24 TARGET_SUBDIR=".")
     21with_target_subdir="$withval",
     22with_target_subdir=".")
    2523
    2624RTEMS_TOPdir="$1";
    2725AC_SUBST(RTEMS_TOPdir)
     26
     27if test "$with_target_subdir" = "." ; then
     28# Native
     29PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
     30else
     31# Cross
     32changequote(, )dnl
     33dots=`echo $with_target_subdir|\
     34sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
     35changequote([, ])dnl
     36PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
     37fi
     38AC_SUBST(PROJECT_TOPdir)
     39
     40if test "$with_target_subdir" = "." ; then
     41# Native
     42PROJECT_ROOT=${RTEMS_TOPdir}/'$(top_builddir)';
     43else
     44# Cross
     45PROJECT_ROOT=${RTEMS_TOPdir}/'$(top_builddir)'
     46fi
     47AC_SUBST(PROJECT_ROOT)
    2848
    2949dnl Determine RTEMS Version string from the VERSION file
Note: See TracChangeset for help on using the changeset viewer.