Fabien Costantini wrote:
> I just finished the job for now taking in account the headers (with variant) 
> in the elaboration of the syspnglib_ok flag, seems to work great finally.
> I'd be happy to revert it if it doesn't work better now :-)
> That's great teamwork folks...

Seconded :-)

However, improvement is always possible. I added some small modifications:

- test the system lib only, if --enable-localpng is _not_ set

This is needed, because we would otherwise set the header variables 
according to the system lib, and not according to the finally used local 
lib.

- commented out an obsolete statement

- added a check for png_get_valid, if using the system lib.

The previous version did unconditionally set the variable, but you never 
know. If we rely on it, we should test it.

Please review svn -r 6513.

Further improvement might be: use png_get_valid for library testing 
instead of png_read_info. This would save one test.

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to