I think the trick for testing individual features is that it does not depend on symbols predefined by the compiler. Rather, tools are used to generate a configure script, which in turn generates the Makefiles from prototypes, with suitable -D_has_feature_a -D_has_feature_b etc arguments (where feature_a and feature_b are just examples, of course).
Typically that would be GNU autoconf and automake, I think. Don't ask _me_ how to set all that up from scratch, please; I've never tried. But enough free software builds (even on Solaris) with ./configure make make install that a lot of people must have figured it out already. -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
