> I do not have cygwin, but do have mingw. I seem to be getting the same > result as you report (that is, the auto mode is not selecting the > correct lib.) > Further, in another test, although it is *finding* the system PNG lib, > it is not setting up the config.h to actually use that either. > > This used to work correctly, AFAICT, under mingw (and I think cygwin > too) so I suspect we have broken something. However, as you note, it > *seems* to be fine on Linux and OSX, so my be some interaction with the > configure tools on win32? No I don't think it worked correctly before too because as I said, the libjpeg has the same problem here when in auto mode, meaning that auto mode leads to system lib even when no system lib is present. And we didn't change the libjpeg code from a iota ...
I had a deeper analysis, and without being an autoconf god, I can already tell you than this auto mode bug (feature?) does not surprise me at all: In effect, we don't seem to use the third parameter of AC_ARG_ENABLE which according to the manual, is supposed to define the behavior of when this option is not set by the user ... I'll continue to analyze this but I bet we are again going to make some cleaning up there ;-) I'll propose a fix but in another branch if all are ok, but this fix will be commented line by line, and I need your help to validate it. It will only fix PNG lib to demonstrate the principle of the changed configure.in code, then it will apply to libjpeg and libz. Any thoughts ? Fabien _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
