Fabien Costantini schrieb: >> Close, but... >> >> On mingw, trying to use the system png lib, I configure with: >> >> ../configure --enable-threads --enable-cairo >> CPPFLAGS=3D-I/usr/local/include LDFLAGS=3D-L/usr/local/lib >> >> BUT, config.h is not correct, it has: >> >> >> /* #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 Please review my update. Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
