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')
-rwxr-xr-xnewlib/libc/configure32
1 files changed, 32 insertions, 0 deletions
diff --git a/newlib/libc/configure b/newlib/libc/configure
index 4a1ab6b99..e2782a5f5 100755
--- a/newlib/libc/configure
+++ b/newlib/libc/configure
@@ -749,6 +749,8 @@ build
newlib_basedir
MAY_SUPPLY_SYSCALLS_FALSE
MAY_SUPPLY_SYSCALLS_TRUE
+NEWLIB_NANO_MALLOC_FALSE
+NEWLIB_NANO_MALLOC_TRUE
NEWLIB_WIDE_ORIENT_FALSE
NEWLIB_WIDE_ORIENT_TRUE
target_alias
@@ -794,6 +796,7 @@ ac_user_opts='
enable_option_checking
enable_newlib_io_pos_args
enable_newlib_wide_orient
+enable_newlib_nano_malloc
enable_multilib
enable_target_optspace
enable_malloc_debugging
@@ -1444,6 +1447,7 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-newlib-io-pos-args enable printf-family positional arg support
--disable-newlib-wide-orient Turn off wide char orient in streamio
+ --enable-newlib-nano-malloc Use small-footprint nano-malloc implementation
--enable-multilib build many library versions (default)
--enable-target-optspace optimize for space
--enable-malloc-debugging indicate malloc debugging requested
@@ -2236,6 +2240,26 @@ else
fi
+# Check whether --enable-newlib_nano_malloc was given.
+if test "${enable_newlib_nano_malloc+set}" = set; then :
+ enableval=$enable_newlib_nano_malloc; case "${enableval}" in
+ yes) newlib_nano_malloc=yes ;;
+ no) newlib_nano_malloc=no ;;
+ *) as_fn_error $? "bad value ${enableval} for newlib-nano-malloc" "$LINENO" 5 ;;
+ esac
+else
+ newlib_nano_malloc=no
+fi
+
+ if test x$newlib_nano_malloc = xyes; then
+ NEWLIB_NANO_MALLOC_TRUE=
+ NEWLIB_NANO_MALLOC_FALSE='#'
+else
+ NEWLIB_NANO_MALLOC_TRUE='#'
+ NEWLIB_NANO_MALLOC_FALSE=
+fi
+
+
# Make sure we can run config.sub.
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
@@ -12213,6 +12237,14 @@ LIBOBJS=$ac_libobjs
LTLIBOBJS=$ac_ltlibobjs
+if test -z "${NEWLIB_WIDE_ORIENT_TRUE}" && test -z "${NEWLIB_WIDE_ORIENT_FALSE}"; then
+ as_fn_error $? "conditional \"NEWLIB_WIDE_ORIENT\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${NEWLIB_NANO_MALLOC_TRUE}" && test -z "${NEWLIB_NANO_MALLOC_FALSE}"; then
+ as_fn_error $? "conditional \"NEWLIB_NANO_MALLOC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5