summaryrefslogtreecommitdiffstats
path: root/aclocal
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-07 17:01:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-07 17:01:29 +0000
commit823938fa4c916c468cea859b4ecaf4b190314af8 (patch)
treebd946ff504a0ff62e37bc0596f27a6f49728e1eb /aclocal
parentPatch from James Housley <jim@thehousleys.net> to let the Makefiles (diff)
downloadrtems-823938fa4c916c468cea859b4ecaf4b190314af8.tar.bz2
Patch rtems-rc-20000707-1-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that adds a piece of the *-rc-20000705-? series that was not added to CVS accidentally.
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/check-newlib.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/aclocal/check-newlib.m4 b/aclocal/check-newlib.m4
index b8bdaa19b7..e5f55f9f2f 100644
--- a/aclocal/check-newlib.m4
+++ b/aclocal/check-newlib.m4
@@ -27,5 +27,11 @@ dnl some versions of newlib provide rtems_provides_crt0()
CC=$rtems_save_CC])
RTEMS_USE_NEWLIB="$rtems_cv_use_newlib"
AC_SUBST(RTEMS_USE_NEWLIB)
+
+if test x"${RTEMS_USE_NEWLIB}" = x"yes";
+then
+ AC_DEFINE_UNQUOTED(RTEMS_NEWLIB,1,[if using newlib])
+ AC_DEFINE_UNQUOTED(MALLOC_PROVIDED,1,[if malloc is provided])
+fi
])