> However, improvement is always possible. I added some small modifications:
>
> - test the system lib only, if --enable-localpng is _not_ set
good, it will be faster this way
>
> 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.
Not really because we would not care about this syspnglib_ok flag (as the first 
test would be true regardless of the second test in in local mode here:

if test x$enable_localpng = xyes -o x$syspnglib_ok = xno ; then
                             ^is true in local mode so don't care about 
syspnglib_ok.

But it's cleaner and probably faster this way.
Seems to work beautifully, thanks.
In the same order of ideas, I think my else case in the syspnglib_ok test is 
redundant with default init, but well :-)

Thanks,
Fabien

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

Reply via email to