diff options
Diffstat (limited to 'newlib/libc/configure.in')
-rw-r--r-- | newlib/libc/configure.in | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/newlib/libc/configure.in b/newlib/libc/configure.in index 0a7bb8815..7ca0352da 100644 --- a/newlib/libc/configure.in +++ b/newlib/libc/configure.in @@ -24,22 +24,11 @@ AC_ARG_ENABLE(newlib_nano_malloc, yes) newlib_nano_malloc=yes ;; no) newlib_nano_malloc=no ;; *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-malloc) ;; - esac],[newlib_nano_malloc=]) - -dnl Support --enable-newlib-nano-formatted-io used by libc/stdio -AC_ARG_ENABLE(newlib_nano_formatted_io, -[ --enable-newlib-nano-formatted-io Use small-footprint nano-formatted-IO implementation], -[case "${enableval}" in - yes) newlib_nano_formatted_io=yes ;; - no) newlib_nano_formatted_io=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-formatted-io) ;; - esac],[newlib_nano_formatted_io=no]) -AM_CONDITIONAL(NEWLIB_NANO_FORMATTED_IO, test x$newlib_nano_formatted_io = xyes) + esac],[newlib_nano_malloc=no]) +AM_CONDITIONAL(NEWLIB_NANO_MALLOC, test x$newlib_nano_malloc = xyes) NEWLIB_CONFIGURE(..) -AM_CONDITIONAL(NEWLIB_NANO_MALLOC, test x$newlib_nano_malloc = xyes) - dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first dnl line of the macro which fail because appropriate LDFLAGS are not set. |