DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1949
Version: 1.3-current


OK, I think there's something awry in configure. Or perhaps more likely I
just don't get it...

Anyway, the configure script tests for png_set_tRNS_to_alpha around line
8181, but having found it, it defines  HAVE_LIBPNG 1 (which is tested and
set again later.) This code should *probably* set
HAVE_PNG_SET_TRNS_TO_ALPHA at this point as well, or perhaps instead...

As far as I can see, we never ever test for or set HAVE_PNG_GET_VALID
anywhere in configure, so this will always be broken in the code - we
either have to modify Fl_PNG_Image.cxx not to depend on
HAVE_PNG_GET_VALID, or we just always set it in config.h. Either works for
me, but the current pattern does not...

Also, if we have selected the local-png lib, either explicitly or as a
fallback, then configure must set HAVE_PNG_SET_TRNS_TO_ALPHA etc. itself,
since we know, without testing, that the built-in png lib does provide
that capability.


Link: http://www.fltk.org/str.php?L1949
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to