(partly stolen from AC_CHECK_DECLS) but this requires cvs autoconf, I
believe.
Yes, it does. And if you require 2.50, then just use AC_CHECK_DECLS :)
Is there a good way to say this in 2.13-speak, so I can
suggest a patch to the gcc maintainers?
Sorry, but I'm lost again. What is the full picture? If the real and
only problem is that of the #undef templates, then the easiest
transition between the two models is most probably acconfig.h.
All this (AC_FOREACH, AH_ etc.) was precisely set up so that people
could build their templates like this. In 2.13 it is just
impossible. You are trying to have the two models cooperate, but they
are very different, and we moved from the first one because of this.