From: Ethan A M. <merritt@u.washington.edu> - 2006-08-04 15:06:44
|
On Friday 04 August 2006 12:21 am, Petr Mikulik wrote: > > Unfortunately, this is not portable. I've just tried a windows version > compiled with all of the "default" #defines in makefile&config.mgw, > including IMAGE; but its "show version long" reports only: > > Compile options: > +READLINE -LIBREADLINE +GD_PNG +GD_TTF -NOCWDRC +USE_MOUSE > > and thus it is not updated to options set from within config.h. > Cannot the string for the "compiled options" be concanated according to > #define's? I see no windows-specific code in show_version(), so I am at a loss to explain how this could go wrong. If a windows build does not correctly report its configuration, that's a bug all by itself and should be fixed. But yes, we would need to to solve that problem first. show.c: #include "alloc.h" alloc.h: #include "syscfg.h" syscfg.h: #include "config.h" How can this fail? (and how can the build succeed if it does?) -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |