> >> /* #undef HAVE_PNG_H */
> >> /* #undef HAVE_LIBPNG_PNG_H */
> > I think HAVE_LIBPNG_PNG_H is obsolete (grep in sources didn't show any)
> > you should instead have HAVE_LIBPNG to 1 (which is the case here in 
> > cygwin)... :-)
>
> HAVE_LIBPNG_PNG_H isn't used explicitly, but implicitly in Fl_PNG_Image.cxx as
> the alternate header location. It doesn't really matter if we test it, but I 
> have
> added both tests, and it works as I expect.
>
> Fabien, so far your modifications look pretty good :-)
>
> I'll commit my addition shortly, please have a look at this one. I think that 
> it
> solves Ian's problem. I can confirm it, if I configure with:
>
> ../configure --enable-cygwin --enable-threads
Thanks, strangely it doesn't change my config.h, but it must be a problem with 
my cygwin install, so your complement is probably good anyway as it sets 
HAVE_PNG_H which is directly used in Fl_Image.cxx for sure.
Fabien

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

Reply via email to