On Mon, Jul 22, 2019 at 9:59 AM Moazin Khatri <moazinkha...@gmail.com> wrote: >> >> It would be straightforward if each library had a separate renderer module: >> configure.raw checks library availability and triggers its compilation. > > > Okay. I understand how we check each library's availability from > `configure.raw'. But how do you trigger the compilation of only > some particular module? Because, this is exactly what I am > looking for. A way to compile the SVG module only if SVG > support was requested.
That's right. FreeType exposed module classes for everything in modules.cfg but makes them dysfunctional #ifndef FT_CONFIG_OPTION_XXX. For example, https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/psnames/psmodule.c#n596 _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel