diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-02-13 03:49:23 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-25 21:52:48 +0300 |
commit | 8343db918f7609c49b6f5eb432a82a5a12ab1dd2 (patch) | |
tree | 34d704f457964aa9d2f2183d240e588fded6ae37 /newlib/configure.ac | |
parent | 3a6b11c6979e59b850a138cdc78a9819e1065ac4 (diff) |
newlib: libc: move configure into top-level
This kills off the last configure script under libc/ and folds it
into the top newlib configure script. The a lot of the logic was
already in the top configure script, so move what's left into a
libc/acinclude.m4 file.
Diffstat (limited to 'newlib/configure.ac')
-rw-r--r-- | newlib/configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/newlib/configure.ac b/newlib/configure.ac index b97d7a600..195d336f2 100644 --- a/newlib/configure.ac +++ b/newlib/configure.ac @@ -216,6 +216,7 @@ AC_ARG_ENABLE(newlib-nano-malloc, *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-malloc option) ;; esac fi], [newlib_nano_malloc=])dnl +AM_CONDITIONAL(NEWLIB_NANO_MALLOC, test x$newlib_nano_malloc = xyes) dnl Support --disable-newlib-unbuf-stream-opt AC_ARG_ENABLE(newlib-unbuf-stream-opt, @@ -245,12 +246,13 @@ dnl Support --enable-newlib-nano-formatted-io dnl This option is also read in libc/configure.in. It is repeated dnl here so that it shows up in the help text. AC_ARG_ENABLE(newlib_nano_formatted_io, -[ --enable-newlib-nano-formatted-io Use nano version 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) dnl Support --enable-retargetable-locking dnl This option is also read in libc/configure.in. It is repeated @@ -262,6 +264,7 @@ AC_ARG_ENABLE(newlib-retargetable-locking, no) newlib_retargetable_locking=no ;; *) AC_MSG_ERROR(bad value ${enableval} for newlib-retargetable-locking) ;; esac],[newlib_retargetable_locking=no]) +AM_CONDITIONAL(NEWLIB_RETARGETABLE_LOCKING, test x$newlib_retargetable_locking = xyes) dnl Support --enable-newlib-long-time_t AC_ARG_ENABLE(newlib-long-time_t, @@ -313,7 +316,7 @@ else fi AC_SUBST(CC_FOR_NEWLIB) -AC_CONFIG_SUBDIRS(libc) +m4_include([libc/acinclude.m4]) m4_include([libm/acinclude.m4]) if test -z "${with_multisubdir}"; then |