From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 9435E3858D35; Thu, 20 Jan 2022 01:44:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9435E3858D35 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: merge acconfig.h changes into newlib.hin X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 437c5c5085ff30b4a4960b2b53d06728c788361d X-Git-Newrev: ff5be4ab83ecf7e19f29add4676f38551e401ff9 Message-Id: <20220120014453.9435E3858D35@sourceware.org> Date: Thu, 20 Jan 2022 01:44:53 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2022 01:44:53 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dff5be4ab83e= cf7e19f29add4676f38551e401ff9 commit ff5be4ab83ecf7e19f29add4676f38551e401ff9 Author: Mike Frysinger Date: Mon Jan 17 20:03:13 2022 -0500 newlib: merge acconfig.h changes into newlib.hin =20 The acconfig.h header was used to run autoheader and then manually sync the output into newlib.hin. Based on how the files have fallen out of sync (with newlib.hin having many more templates), this has not been run in a long time, and attempts to do so now would break newlib.hin. =20 Further, if you try to run autoheader now, it will automatically replace _newlib_version.hin since it's the first entry in the call to AC_CONFIG_HEADERS. =20 So let's throw away acconfig.h entirely. It only had 2 slightly better comments, and the rest were either worse, missing, or stale. This has the side benefit of avoiding autoheader warning about the deprecated use of acconfig.h since newer autoconf only wants macro calls in configure.ac. Diff: --- newlib/Makefile.in | 2 +- newlib/acconfig.h | 191 -------------------------------------------------= ---- newlib/newlib.hin | 4 +- 3 files changed, 3 insertions(+), 194 deletions(-) diff --git a/newlib/Makefile.in b/newlib/Makefile.in index 636c835ce..1af918059 100644 --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -591,7 +591,7 @@ _newlib_version.h: stamp-h1 stamp-h1: $(srcdir)/_newlib_version.hin $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status _newlib_version.h -$(srcdir)/_newlib_version.hin: @MAINTAINER_MODE_TRUE@ $(am__configure_deps= ) $(top_srcdir)/acconfig.h +$(srcdir)/_newlib_version.hin: @MAINTAINER_MODE_TRUE@ $(am__configure_deps= )=20 ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ diff --git a/newlib/acconfig.h b/newlib/acconfig.h deleted file mode 100644 index c28f7d692..000000000 --- a/newlib/acconfig.h +++ /dev/null @@ -1,191 +0,0 @@ -#ifndef __NEWLIB_H__ - -#define __NEWLIB_H__ 1 -@TOP@ - -/* EL/IX level */ -#undef _ELIX_LEVEL - -/* Newlib version */ -#undef _NEWLIB_VERSION - -/* C99 formats support (such as %a, %zu, ...) in IO functions like - * printf/scanf enabled */ -#undef _WANT_IO_C99_FORMATS - -/* long long type support in IO functions like printf/scanf enabled */ -#undef _WANT_IO_LONG_LONG - -/* long double type support in IO functions like printf/scanf enabled */ -#undef _WANT_IO_LONG_DOUBLE - -/* Positional argument support in printf functions enabled. */ -#undef _WANT_IO_POS_ARGS - -/* 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 */ -#undef _MB_CAPABLE - -/* MB_LEN_MAX */ -#undef _MB_LEN_MAX - -/* ICONV enabled */ -#undef _ICONV_ENABLED - -/* Enable ICONV external CCS files loading capabilities */ -#undef _ICONV_ENABLE_EXTERNAL_CCS - -/* Define if the linker supports .preinit_array/.init_array/.fini_array - * sections. */ -#undef HAVE_INITFINI_ARRAY - -/* True if atexit() may dynamically allocate space for cleanup - functions. */ -#undef _ATEXIT_DYNAMIC_ALLOC - -/* Define if the compiler supports aliasing an array to an address. */ -#undef _HAVE_ARRAY_ALIASING - -/* 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 - -/* Define if the platform long double type is equal to double. */ -#undef _LDBL_EQ_DBL -=20 -/* Define if ivo supported in streamio. */ -#undef _FVWRITE_IN_STREAMIO - -/* Define if fseek functions support seek optimization. */ -#undef _FSEEK_OPTIMIZATION - -/* Define if wide char orientation is supported. */ -#undef _WIDE_ORIENT - -/* Define if unbuffered stream file optimization is supported. */ -#undef _UNBUF_STREAM_OPT - -/* Define if enable lite version of exit. */ -#undef _LITE_EXIT - -/* Define if nano version formatted IO is used. */ -#undef _NANO_FORMATTED_IO - -@BOTTOM@ -/* - * Iconv encodings enabled ("to" direction) - */ -#undef _ICONV_TO_ENCODING_BIG5 -#undef _ICONV_TO_ENCODING_CP775 -#undef _ICONV_TO_ENCODING_CP850 -#undef _ICONV_TO_ENCODING_CP852 -#undef _ICONV_TO_ENCODING_CP855 -#undef _ICONV_TO_ENCODING_CP866 -#undef _ICONV_TO_ENCODING_EUC_JP -#undef _ICONV_TO_ENCODING_EUC_TW -#undef _ICONV_TO_ENCODING_EUC_KR -#undef _ICONV_TO_ENCODING_ISO_8859_1 -#undef _ICONV_TO_ENCODING_ISO_8859_10 -#undef _ICONV_TO_ENCODING_ISO_8859_11 -#undef _ICONV_TO_ENCODING_ISO_8859_13 -#undef _ICONV_TO_ENCODING_ISO_8859_14 -#undef _ICONV_TO_ENCODING_ISO_8859_15 -#undef _ICONV_TO_ENCODING_ISO_8859_2 -#undef _ICONV_TO_ENCODING_ISO_8859_3 -#undef _ICONV_TO_ENCODING_ISO_8859_4 -#undef _ICONV_TO_ENCODING_ISO_8859_5 -#undef _ICONV_TO_ENCODING_ISO_8859_6 -#undef _ICONV_TO_ENCODING_ISO_8859_7 -#undef _ICONV_TO_ENCODING_ISO_8859_8 -#undef _ICONV_TO_ENCODING_ISO_8859_9 -#undef _ICONV_TO_ENCODING_ISO_IR_111 -#undef _ICONV_TO_ENCODING_KOI8_R -#undef _ICONV_TO_ENCODING_KOI8_RU -#undef _ICONV_TO_ENCODING_KOI8_U -#undef _ICONV_TO_ENCODING_KOI8_UNI -#undef _ICONV_TO_ENCODING_UCS_2 -#undef _ICONV_TO_ENCODING_UCS_2_INTERNAL -#undef _ICONV_TO_ENCODING_UCS_2BE -#undef _ICONV_TO_ENCODING_UCS_2LE -#undef _ICONV_TO_ENCODING_UCS_4 -#undef _ICONV_TO_ENCODING_UCS_4_INTERNAL -#undef _ICONV_TO_ENCODING_UCS_4BE -#undef _ICONV_TO_ENCODING_UCS_4LE -#undef _ICONV_TO_ENCODING_US_ASCII -#undef _ICONV_TO_ENCODING_UTF_16 -#undef _ICONV_TO_ENCODING_UTF_16BE -#undef _ICONV_TO_ENCODING_UTF_16LE -#undef _ICONV_TO_ENCODING_UTF_8 -#undef _ICONV_TO_ENCODING_WIN_1250 -#undef _ICONV_TO_ENCODING_WIN_1251 -#undef _ICONV_TO_ENCODING_WIN_1252 -#undef _ICONV_TO_ENCODING_WIN_1253 -#undef _ICONV_TO_ENCODING_WIN_1254 -#undef _ICONV_TO_ENCODING_WIN_1255 -#undef _ICONV_TO_ENCODING_WIN_1256 -#undef _ICONV_TO_ENCODING_WIN_1257 -#undef _ICONV_TO_ENCODING_WIN_1258 - -/* - * Iconv encodings enabled ("from" direction) - */ -#undef _ICONV_FROM_ENCODING_BIG5 -#undef _ICONV_FROM_ENCODING_CP775 -#undef _ICONV_FROM_ENCODING_CP850 -#undef _ICONV_FROM_ENCODING_CP852 -#undef _ICONV_FROM_ENCODING_CP855 -#undef _ICONV_FROM_ENCODING_CP866 -#undef _ICONV_FROM_ENCODING_EUC_JP -#undef _ICONV_FROM_ENCODING_EUC_TW -#undef _ICONV_FROM_ENCODING_EUC_KR -#undef _ICONV_FROM_ENCODING_ISO_8859_1 -#undef _ICONV_FROM_ENCODING_ISO_8859_10 -#undef _ICONV_FROM_ENCODING_ISO_8859_11 -#undef _ICONV_FROM_ENCODING_ISO_8859_13 -#undef _ICONV_FROM_ENCODING_ISO_8859_14 -#undef _ICONV_FROM_ENCODING_ISO_8859_15 -#undef _ICONV_FROM_ENCODING_ISO_8859_2 -#undef _ICONV_FROM_ENCODING_ISO_8859_3 -#undef _ICONV_FROM_ENCODING_ISO_8859_4 -#undef _ICONV_FROM_ENCODING_ISO_8859_5 -#undef _ICONV_FROM_ENCODING_ISO_8859_6 -#undef _ICONV_FROM_ENCODING_ISO_8859_7 -#undef _ICONV_FROM_ENCODING_ISO_8859_8 -#undef _ICONV_FROM_ENCODING_ISO_8859_9 -#undef _ICONV_FROM_ENCODING_ISO_IR_111 -#undef _ICONV_FROM_ENCODING_KOI8_R -#undef _ICONV_FROM_ENCODING_KOI8_RU -#undef _ICONV_FROM_ENCODING_KOI8_U -#undef _ICONV_FROM_ENCODING_KOI8_UNI -#undef _ICONV_FROM_ENCODING_UCS_2 -#undef _ICONV_FROM_ENCODING_UCS_2_INTERNAL -#undef _ICONV_FROM_ENCODING_UCS_2BE -#undef _ICONV_FROM_ENCODING_UCS_2LE -#undef _ICONV_FROM_ENCODING_UCS_4 -#undef _ICONV_FROM_ENCODING_UCS_4_INTERNAL -#undef _ICONV_FROM_ENCODING_UCS_4BE -#undef _ICONV_FROM_ENCODING_UCS_4LE -#undef _ICONV_FROM_ENCODING_US_ASCII -#undef _ICONV_FROM_ENCODING_UTF_16 -#undef _ICONV_FROM_ENCODING_UTF_16BE -#undef _ICONV_FROM_ENCODING_UTF_16LE -#undef _ICONV_FROM_ENCODING_UTF_8 -#undef _ICONV_FROM_ENCODING_WIN_1250 -#undef _ICONV_FROM_ENCODING_WIN_1251 -#undef _ICONV_FROM_ENCODING_WIN_1252 -#undef _ICONV_FROM_ENCODING_WIN_1253 -#undef _ICONV_FROM_ENCODING_WIN_1254 -#undef _ICONV_FROM_ENCODING_WIN_1255 -#undef _ICONV_FROM_ENCODING_WIN_1256 -#undef _ICONV_FROM_ENCODING_WIN_1257 -#undef _ICONV_FROM_ENCODING_WIN_1258 - -#endif /* !__NEWLIB_H__ */ diff --git a/newlib/newlib.hin b/newlib/newlib.hin index 37ed88e97..db3446492 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -55,13 +55,13 @@ functions. */ #undef _ATEXIT_DYNAMIC_ALLOC =20 -/* True if long double supported. */ +/* Define if the platform supports long double type. */ #undef _HAVE_LONG_DOUBLE =20 /* Define if compiler supports -fno-tree-loop-distribute-patterns. */ #undef _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL =20 -/* True if long double supported and it is equal to double. */ +/* Define if the platform long double type is equal to double. */ #undef _LDBL_EQ_DBL =20 /* Define if ivo supported in streamio. */