Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/configure.in')
-rw-r--r--newlib/libc/configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libc/configure.in b/newlib/libc/configure.in
index f262d7d45..d9df7c5f7 100644
--- a/newlib/libc/configure.in
+++ b/newlib/libc/configure.in
@@ -27,6 +27,16 @@ AC_ARG_ENABLE(newlib_wide_orient,
esac],[newlib_wide_orient=yes])
AM_CONDITIONAL(NEWLIB_WIDE_ORIENT, test x$newlib_wide_orient = xyes)
+dnl Support --enable-newlib-nano-malloc used by libc/stdlib
+AC_ARG_ENABLE(newlib_nano_malloc,
+[ --enable-newlib-nano-malloc Use small-footprint nano-malloc implementation],
+[case "${enableval}" in
+ yes) newlib_nano_malloc=yes ;;
+ no) newlib_nano_malloc=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-malloc) ;;
+ esac],[newlib_nano_malloc=no])
+AM_CONDITIONAL(NEWLIB_NANO_MALLOC, test x$newlib_nano_malloc = xyes)
+
NEWLIB_CONFIGURE(..)
dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and