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.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/aclocal/rtems-top.m4 b/aclocal/rtems-top.m4
index 0bf57da6d7..1def27cd1a 100644
--- a/aclocal/rtems-top.m4
+++ b/aclocal/rtems-top.m4
@@ -15,6 +15,10 @@ AC_ARG_WITH(target-subdir,
TARGET_SUBDIR="$withval",
TARGET_SUBDIR=".")
+## HACK to allow gnu-make conditionals in automake-Makefiles.
+ENDIF=endif
+AC_SUBST(ENDIF)
+
RTEMS_TOPdir="$1";
AC_SUBST(RTEMS_TOPdir)