> So what ought to be done in the code? > 1. #else #error "This requires freetype 2.0.3 or later" > 2. #else <Here are some definitions that will compile but assume an angle of > zero degrees> #endif > 3. ifdefs around the use of FT_Angle etc to provide an alternative method of > achieving it or not supporting ot.
Do autoconf checks for the presence of these functions. If they can be implemented (or stubbed) easily, add a stub/implementation between ifndefs. If not, do not compile in the feature at all. Ciao, Marcus