Patch: support non-libffi enabled platforms

Tom Tromey tromey@redhat.com
Thu Feb 15 09:12:00 GMT 2001


>> 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.

Anthony> What do you think the best way of doing this is?

One easy way would be to have the libffi configure generate a short
shell script that sets some variables:

    libffi_enabled='yes|no'
    libffi_closures_enabled='yes|no'

Tom



More information about the Java-patches mailing list