]> sourceware.org Git - newlib-cygwin.git/commit
newlib: switch newlib.h to autoheader
authorMike Frysinger <vapier@gentoo.org>
Tue, 18 Jan 2022 01:10:38 +0000 (20:10 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 20 Jan 2022 00:59:16 +0000 (19:59 -0500)
commit0a67325726577e189c65e7c190f3f9e0874143a6
tree89a129513dbd797f6086a993d36526e0d6487ff9
parentb86dc2dab4981ba92d683b866badc0b32be39120
newlib: switch newlib.h to autoheader

Now that newlib.hin has been brought up to date and all of its defines
are produced by configure, we can switch it to using autoheader without
manual editing.  This relies on a few pieces:
* Moving the header & footer into configure.ac via AH_TOP & AH_BOTTOM.
* Running a post-process step on newlib.h to delete all the defines we
  didn't export ourselves.  Basically, anything without a _ prefix.

This will leave behind some spurious comments in newlib.h related to
the defines we filtered out, but should be harmless, so it's probably
not worth the effort to construct a more complicated sed expression to
also strip those out.
newlib/Makefile.in
newlib/configure
newlib/configure.ac
newlib/newlib.hin
This page took 0.027507 seconds and 5 git commands to generate.