On Wed, 2007-05-30 at 08:09 +0200, Paolo Bonzini wrote: > > Gcj isn't available for compile-and-link test when building libjava. > > I found a solution, which is to add a ltgcc.m4 file to the toplevel, > where we can override macros as we wish. For example, you can put a > copy of the Java configuration macro there with your hack. I will > approve such a patch.
Another alternative would be to pushdef([TROUBLESOME_MARCO],[patched definition]) in the configure.ac. If gcc is likely to need to override more than a couple of macros then a new .m4 is probably a better idea. Peter