H. J. Lu wrote:
On Wed, May 30, 2007 at 08:09:25AM +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.
I have no idea how to set it up.
Please stop this "I have no idea" attitude, let's try to be constructive.
To test it, you just create ltgcc.m4 in toplevel (both gcc and src), and
rerun aclocal in libjava. Then we'll have to rerun aclocal manually in
all directories, but let's first make a working patch.
BTW, with this scheme, when we update libtool, we have to make
sure that ltgcc.m4 is in sync. I don't see it is much different
from my hack. You have to do it manually in both cases.
I can tell you that this macro is not going to change often.
Paolo