summaryrefslogtreecommitdiffstats
path: root/aclocal/rtems-top.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-03-10 16:46:32 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-03-10 16:46:32 +0000
commit89b51f479583a97de7ed67b61231f05ae1360408 (patch)
tree101bf6edfdcd8f0065a952e9295631405ea50b39 /aclocal/rtems-top.m4
parentMerger from rtems-4-6-branch. (diff)
downloadrtems-89b51f479583a97de7ed67b61231f05ae1360408.tar.bz2
Merger from rtems-4-6-branch
Diffstat (limited to 'aclocal/rtems-top.m4')
-rw-r--r--aclocal/rtems-top.m48
1 files changed, 1 insertions, 7 deletions
diff --git a/aclocal/rtems-top.m4 b/aclocal/rtems-top.m4
index 82da20edd5..bdb79ed5e6 100644
--- a/aclocal/rtems-top.m4
+++ b/aclocal/rtems-top.m4
@@ -8,8 +8,8 @@ dnl
AC_DEFUN(RTEMS_TOP,
[dnl
AC_REQUIRE([RTEMS_VERSIONING])
+AC_CONFIG_AUX_DIR([$1])
AC_CHECK_PROGS(MAKE, gmake make)
-AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
AC_PREFIX_DEFAULT([/opt/rtems])
@@ -35,13 +35,7 @@ PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
fi
AC_SUBST(PROJECT_TOPdir)
-if test "$with_target_subdir" = "." ; then
-# Native
-PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
-else
-# Cross
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
-fi
AC_SUBST(PROJECT_ROOT)
AC_MSG_CHECKING([for RTEMS Version])