> I've considered sourcing ada/config-lang.in from within > gnattools/configure, and testing lang_requires as set by it, so as to > avoid a duplication of tests that ought to remain in sync, but decided > it would be too fragile, as ada/config-lang.in does not expect srcdir > to refer to gnattools. > > Please let me know if there are objections to this change in the next > few days, e.g., if enabling C and C++ for an Ada-only build is too > onerous. It is certainly possible to rework gnattools build machinery > so that it uses CC and CXX as detected by the top-level configure if we > can't find xgcc and xg++ in ../gcc. At least in cross builds, we > already require build-time Ada tools to have the same version as that > we're cross-building, so we might as well use preexisting gcc and g++ > under the same requirements.
No objection from me assuming it doesn't again break some builds in subtle ways :-) (In which case we'll have to revert again). Arno