From 810c5e597974d09fe2d27f3bddf90dd52d20bb1c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 12 Jan 2022 23:05:16 -0500 Subject: newlib: clean up autoheader templates Sync these back from newlib.hin to configure.ac, and touchup some of the forms to be consistent (like being full sentences). Also use the AC_DEFINE-vs-AC_DEFINE_UNQUOTED macros correctly. This will make it easier to re-enable autoheader for managing newlib.hin. --- newlib/newlib.hin | 65 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 32 deletions(-) (limited to 'newlib/newlib.hin') diff --git a/newlib/newlib.hin b/newlib/newlib.hin index db3446492..f1198577c 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -12,91 +12,92 @@ /* Newlib version */ #include <_newlib_version.h> -/* C99 formats support (such as %a, %zu, ...) in IO functions like - * printf/scanf enabled */ +/* Enable C99 formats support (e.g. %a, %zu, ...) in IO functions like + printf/scanf. */ #undef _WANT_IO_C99_FORMATS -/* long long type support in IO functions like printf/scanf enabled */ +/* Define to enable long long type support in IO functions like printf/scanf. + */ #undef _WANT_IO_LONG_LONG /* Register application finalization function using atexit. */ #undef _WANT_REGISTER_FINI -/* long double type support in IO functions like printf/scanf enabled */ +/* Define to enable long double type support in IO functions like + printf/scanf. */ #undef _WANT_IO_LONG_DOUBLE -/* Positional argument support in printf functions enabled. */ +/* Positional argument support in printf functions enabled. */ #undef _WANT_IO_POS_ARGS -/* Optional reentrant struct support. Used mostly on platforms with - very restricted storage. */ +/* Optional reentrant struct support. Used mostly on platforms with very + restricted storage. */ #undef _WANT_REENT_SMALL /* Verify _REENT_CHECK macros allocate memory successfully. */ #undef _REENT_CHECK_VERIFY -/* Multibyte supported */ +/* Multibyte supported. */ #undef _MB_CAPABLE -/* MB_LEN_MAX */ +/* Multibyte max length. */ #undef _MB_LEN_MAX -/* ICONV enabled */ +/* ICONV enabled. */ #undef _ICONV_ENABLED -/* Enable ICONV external CCS files loading capabilities */ +/* Enable ICONV external CCS files loading capabilities. */ #undef _ICONV_ENABLE_EXTERNAL_CCS /* Define if the linker supports .preinit_array/.init_array/.fini_array - * sections. */ + sections. */ #undef _HAVE_INITFINI_ARRAY -/* True if atexit() may dynamically allocate space for cleanup - functions. */ -#undef _ATEXIT_DYNAMIC_ALLOC +/* If atexit() may dynamically allocate space for cleanup functions. */ +#undef _ATEXIT_DYNAMIC_ALLOC -/* Define if the platform supports long double type. */ -#undef _HAVE_LONG_DOUBLE +/* Define if the platform supports long double type. */ +#undef _HAVE_LONG_DOUBLE /* Define if compiler supports -fno-tree-loop-distribute-patterns. */ -#undef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL +#undef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL -/* Define if the platform long double type is equal to double. */ -#undef _LDBL_EQ_DBL +/* Define if the platform long double type is equal to double. */ +#undef _LDBL_EQ_DBL -/* Define if ivo supported in streamio. */ +/* Define if ivo supported in streamio. */ #undef _FVWRITE_IN_STREAMIO -/* Define if fseek functions support seek optimization. */ +/* Define if fseek functions support seek optimization. */ #undef _FSEEK_OPTIMIZATION -/* Define if wide char orientation is supported. */ -#undef _WIDE_ORIENT +/* Define if wide char orientation is supported. */ +#undef _WIDE_ORIENT -/* Define if unbuffered stream file optimization is supported. */ +/* Define if unbuffered stream file optimization is supported. */ #undef _UNBUF_STREAM_OPT -/* Define if lite version of exit supported. */ +/* Define if lite version of exit supported. */ #undef _LITE_EXIT -/* Define if declare atexit data as global. */ +/* Define if declare atexit data as global. */ #undef _REENT_GLOBAL_ATEXIT /* Define to move the stdio stream FILE objects out of struct _reent and make - them global. The stdio stream pointers of struct _reent are initialized to + them global. The stdio stream pointers of struct _reent are initialized to point to the global stdio FILE stream objects. */ #undef _WANT_REENT_GLOBAL_STDIO_STREAMS -/* Define if small footprint nano-formatted-IO implementation used. */ +/* Define if small footprint nano-formatted-IO implementation used. */ #undef _NANO_FORMATTED_IO -/* Define if using retargetable functions for default lock routines. */ +/* Define if using retargetable functions for default lock routines. */ #undef _RETARGETABLE_LOCKING -/* Define to use type long for time_t. */ +/* Define to use type long for time_t. */ #undef _WANT_USE_LONG_TIME_T -/* Define if using gdtoa rather than legacy ldtoa. */ +/* Define if using gdtoa rather than legacy ldtoa. */ #undef _WANT_USE_GDTOA /* -- cgit v1.2.3