> Maybe a temporary fix in the 1.3 branch like adding another if clause, as I > found > out to be working? This would be better than now, at least. Feel free to fix or even revert all the changes if you find it's worse than before, meanwhile.
That said, I now have understood how the automatic mode really works: First, it works, but partially. Second, it works without the third AC_ARG_ENABLE() parameter set because the automatic mode does not care about this variable, here's why: When the --enable-localpng is not set (resp. --enable-localjpeg, --enable-localzlib) the variable content is just empty so neither yes nor no. Then this is the code AC_CHECK_LIB() (that I erroneously moved in my last fix attempt) code following AC_ARG_ENABLE() that makes the job: Indeed, you can see in the AC_CHECK_LIB original code that if the lib exists (case treated by second parameter), then all is set for use of System lib (which is NOT sufficient) But if it is not found, then we test the enable_localxxxx variable and this is how it really works: if the variable is no set to no, then the else treat the case yes *AND* the casewhere the variable is not set. Fabien _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
