Changeset 93a0f2b in rtems
- Timestamp:
- 03/25/04 08:22:14 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- d04abc83
- Parents:
- e84c2a46
- Location:
- testsuites
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/ChangeLog
re84c2a46 r93a0f2b 1 2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 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 Add --enable-rtems-root. Rework RTEMS_ROOT. 6 1 7 2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 8 -
testsuites/aclocal/rtems-top.m4
re84c2a46 r93a0f2b 22 22 AC_SUBST(ENDIF) 23 23 24 RTEMS_TOPdir="$1"; 25 AC_SUBST(RTEMS_TOPdir) 24 AC_SUBST([RTEMS_TOPdir],["$1"]) 26 25 27 ## with_target_subdirs is handled implicitly by autoconf 28 dots=`echo $with_target_subdir|\ 29 sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` 30 PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' 31 AC_SUBST([PROJECT_TOPdir]) 26 rtems_updir=m4_if([$2],[],[],[$2/]) 32 27 33 RTEMS_ROOT=$with_rtems_root`echo "$1/" | sed 's,^../,,'`'$(top_builddir)' 34 AC_SUBST(RTEMS_ROOT) 28 AC_ARG_ENABLE([rtems-root],[ 29 AS_HELP_STRING(--enable-rtems-root,directory containing make/custom)], 30 [case ${enable_rtems_root} in 31 [[\\/$]]* | ?:[[\\/]]* ) # absolute directory 32 RTEMS_ROOT=${enable_rtems_root} 33 ;; 34 *) # relative directory 35 RTEMS_ROOT=${enable_rtems_root}${rtems_updir}'$(top_builddir)' 36 ;; 37 esac], 38 [RTEMS_ROOT=${rtems_updir}'$(top_builddir)']) 39 AC_SUBST([RTEMS_ROOT]) 35 40 36 PROJECT_ROOT=$with_project_root`echo "$1/" | sed 's,^../,,'`'$(top_builddir)' 37 AC_SUBST( PROJECT_ROOT)41 AC_SUBST([PROJECT_TOPdir],[${with_project_top}${rtems_updir}'$(top_builddir)']) 42 AC_SUBST([PROJECT_ROOT],[${with_project_root}${rtems_updir}'$(top_builddir)']) 38 43 39 44 AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
Note: See TracChangeset
for help on using the changeset viewer.