On 10 Nov 2008, at 19:59, Albrecht Schlosser wrote: > imacarthur wrote: >> Just tested on my Mac, and the latest configure now (on OSX) sets >> both >> PNG_H options in config.h; >> >> #define HAVE_PNG_H 1 >> #define HAVE_LIBPNG_PNG_H 1 >> >> But that's sort of OK, since the first one takes precedence here, I >> guess. Still seems wrong though... > > I did this intentionally, because with this approach we could check > the > existence of both header files in Fl_PNG_Image.cxx, and if neither > exists, do something useful (disable PNG code or issue a #error and > terminate compilation). We can also omit checking the 2nd header, > if we > found the first.
Oh, OK. If that's the intent - certainly seems to work here. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
