summaryrefslogtreecommitdiffstats
path: root/aclocal/rtems-top.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal/rtems-top.m4')
-rw-r--r--aclocal/rtems-top.m47
1 files changed, 0 insertions, 7 deletions
diff --git a/aclocal/rtems-top.m4 b/aclocal/rtems-top.m4
index e993a92ddb..9e2ea9c80f 100644
--- a/aclocal/rtems-top.m4
+++ b/aclocal/rtems-top.m4
@@ -16,16 +16,9 @@ AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
-## HACK to allow gnu-make conditionals in automake-Makefiles.
-ENDIF=endif
-AC_SUBST(ENDIF)
-
RTEMS_TOPdir="$1";
AC_SUBST(RTEMS_TOPdir)
-## with_target_subdirs is handled implicitly by autoconf
-test -n "$with_target_subdir" || with_target_subdir="."
-
dots=`echo $with_target_subdir|\
sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'