From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id EE7CE3858406 for ; Tue, 18 Jan 2022 04:48:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EE7CE3858406 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 3B798342D7D; Tue, 18 Jan 2022 04:48:34 +0000 (UTC) From: Mike Frysinger To: newlib@sourceware.org Subject: [PATCH 0/8] newlib: convert newlib.h to autoheader Date: Mon, 17 Jan 2022 23:47:33 -0500 Message-Id: <20220118044741.21027-1-vapier@gentoo.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2022 04:48:39 -0000 This is a series of cleanups to make newlib.hin be managed automatically by autoheader instead of being hand maintained. This will also make the standard autoreconf command not fall over due to the current poor state of the header files, as well as not make it corrupt/clobber the version header file. I've split these up to (hopefully) make it easier to review, and be easy to merge most of them independently. If there is some reason we don't want to actually leverage autoheader, or maybe we want to rework how the final step is done, we can still land the rest of the stack while that discussion is ongoing. Mike Frysinger (8): newlib: internalize HAVE_INITFINI_ARRAY newlib: merge acconfig.h changes into newlib.hin newlib: clean up autoheader templates newlib: sort newlib.h output newlib: move version defines out of the config headers newlib: add missing _NANO_MALLOC to newlib.hin newlib: iconv: autogenerate iconv define list newlib: switch newlib.h to autoheader newlib/Makefile.in | 34 +- newlib/_newlib_version.hin | 16 +- newlib/acconfig.h | 191 -------- newlib/aclocal.m4 | 1 + newlib/configure | 695 ++++++++++++++++++++++++----- newlib/configure.ac | 105 +++-- newlib/configure.host | 2 +- newlib/iconv.m4 | 305 +++++++++++++ newlib/libc/iconv/ces/mkdeps.pl | 39 ++ newlib/libc/misc/fini.c | 6 +- newlib/libc/misc/init.c | 6 +- newlib/libc/stdlib/__call_atexit.c | 2 +- newlib/libc/sys/arm/crt0.S | 2 +- newlib/newlib.hin | 503 +++++++++++++++------ 14 files changed, 1398 insertions(+), 509 deletions(-) delete mode 100644 newlib/acconfig.h create mode 100644 newlib/iconv.m4 -- 2.33.0