Hello Jeff,
* Jeff Johnston wrote on Tue, Aug 18, 2009 at 09:54:16PM CEST:
Ralf Wildenhues wrote:
1) newlib.hin is apparently written manually, [...]
I just updated the acconfig.h file to handle the missing templates,
but manual editing is needed because newlib cannot generate
PACKAGE_NAME, etc.. in newlib.h and AC_INIT does so under the
covers. The newlib.h header file is included internally by the
standard header files and so we don't want to clash with a user's
header file which also wants to define PACKAGE_NAME, etc... So, I
originally used autoheader then deleted those offending lines
manually. Later changes just edited the newlib.hin file directly.
If there is a cleaner way to do this, I'm all ears.
Well, one definite improvement would be, if you edit newlib.hin
manually, to prominently state so at the beginning of the file,
and to add a no-op rule for newlib.hin in Makefile.am to prevent
the automake-generated rule from accidentally overwriting the file.
Seriously though, override.m4 is currently the lever to
- force exactly one Autoconf version for all configure scripts that
include this file,
- fix all Autoconf bugs known to the version used,
- and used throughout GCC and binutils, and parts of gdb already.
This also means that, while there are likely more bugs exposed by
updating to new tools now, it's also easy to fix them throughout the
tree (and there are more likely people able to fix them for you). In
that way, it's at least debatable which version to use will be better
for you; but you decide.