Patch: support non-libffi enabled platforms
Tom Tromey
tromey@redhat.com
Mon Feb 12 12:59:00 GMT 2001
>>>>> "Anthony" == Anthony Green <green@cygnus.com> writes:
Anthony> 2001-02-10 Anthony Green <green@redhat.com>
Anthony> * configure.host: Define with_libffi.
Anthony> * configure.in: Define USING_LIBFFI accordingly.
Anthony> * configure: Rebuilt.
Anthony> * include/config.h.in: Add USING_LIBFFI.
Anthony> * java/lang/reflect/natMethod.cc: Obey USING_LIBFFI.
I don't mind introducing USING_LIBFFI. I think this is a good idea.
However, couldn't we somehow ask libffi whether it should be used?
That way we only need to do the configure hacking in a single place.
Ideally libffi could tell us (1) if it works on the platform and (2)
if the closure code is supported on the platform.
Tom
More information about the Java-patches
mailing list