Looks good to me.

/Erik

On 2015-10-02 16:58, Magnus Ihse Bursie wrote:
To build zero, we need libffi. However, the code in configure to handle libffi is not up to normal library handling standards, so it is not possible to set it using configure arguments.

When trying to rectify this, I finally got tired of the mess that libraries.m4 is. I have split it into parts, where each prominent library gets it's own file, and I've switched the logic on dependencies to be positive (i.e. linux needs alsa, not "macosx does NOT need alsa").

The cleanup includes:
* Split libraries.m4.
* Remove builddeps.
* Remove last references to pulse.
* Remove HAVE_ALTZONE.
* Separate handling of bundled libs.
* Set LIBM properly.

The libffi support means that we now have --with-libffi[-libs/-include], just like for other libraries. Also, we sanity check that we can actually compile with libffi.

Bug: https://bugs.openjdk.java.net/browse/JDK-8138761
WebRev: http://cr.openjdk.java.net/~ihse/JDK-8138761-libffi-and-libraries-cleanup/webrev.01

/Magnus

Reply via email to