<AWT Dev> RFR: Allow using a system installed libpng
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Feb 12 22:49:32 UTC 2014
On 2014-02-12 18:47, Andrew Hughes wrote:
>> To be extremely clear: Andrew, do you object to bringing Omairs patch,
>> as it is, into OpenJDK?
I'll put a mental note to revisit libpng when cleaning up libraries.m4.
Are we in agreement that it should to the following:
--with-libpng=bundled | system | <some path>
and if "system" is selected, it should first check with pkg-config, and
only if that fails, try hard-coded values. In any case it should try to
compile a short code to see that it works properly. (This is not needed
for bundled; that is assumed to be working).
More information about the build-dev