2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* aclocal/rtems-top.m4: Add support for --with-project-root.
	Remove RTEMS Version message.
This commit is contained in:
Ralf Corsepius
2003-10-23 10:59:10 +00:00
parent c83a419af6
commit c3643e78de
4 changed files with 16 additions and 18 deletions

View File

@@ -1,3 +1,8 @@
2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Add support for --with-project-root.
Remove RTEMS Version message.
2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonical-host.m4: Remove. * aclocal/canonical-host.m4: Remove.

View File

@@ -28,21 +28,15 @@ test -n "$with_target_subdir" || with_target_subdir="."
if test "$with_target_subdir" = "." ; then if test "$with_target_subdir" = "." ; then
# Native # Native
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)' PROJECT_TOPdir="${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"
else else
# Cross # Cross
dots=`echo $with_target_subdir|\ dots=`echo $with_target_subdir|\
sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' PROJECT_TOPdir="${dots}${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"
fi fi
AC_SUBST(PROJECT_TOPdir) AC_SUBST(PROJECT_TOPdir)
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)" PROJECT_ROOT="${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"
AC_SUBST(PROJECT_ROOT) AC_SUBST(PROJECT_ROOT)
AC_MSG_CHECKING([for RTEMS Version])
AS_IF([test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"],
[],
[AC_MSG_ERROR([Unable to find ${RTEMS_TOPdir}/aclocal/version.m4])])
AC_MSG_RESULT([_RTEMS_VERSION])
])dnl ])dnl

View File

@@ -1,3 +1,8 @@
2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Add support for --with-project-root.
Remove RTEMS Version message.
2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonical-host.m4: Remove. * aclocal/canonical-host.m4: Remove.

View File

@@ -28,21 +28,15 @@ test -n "$with_target_subdir" || with_target_subdir="."
if test "$with_target_subdir" = "." ; then if test "$with_target_subdir" = "." ; then
# Native # Native
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)' PROJECT_TOPdir="${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"
else else
# Cross # Cross
dots=`echo $with_target_subdir|\ dots=`echo $with_target_subdir|\
sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' PROJECT_TOPdir="${dots}${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"
fi fi
AC_SUBST(PROJECT_TOPdir) AC_SUBST(PROJECT_TOPdir)
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)" PROJECT_ROOT="${with_project_root}${RTEMS_TOPdir}/\$(top_builddir)"
AC_SUBST(PROJECT_ROOT) AC_SUBST(PROJECT_ROOT)
AC_MSG_CHECKING([for RTEMS Version])
AS_IF([test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"],
[],
[AC_MSG_ERROR([Unable to find ${RTEMS_TOPdir}/aclocal/version.m4])])
AC_MSG_RESULT([_RTEMS_VERSION])
])dnl ])dnl