[PATCH 2/2] configure: read back libXfont flags and set the server accordingly

Adam Jackson ajax at nwnk.net
Wed Jun 2 13:12:51 PDT 2010


On Wed, 2010-05-26 at 19:44 +0300, Tiago Vignatti wrote:

> +/* defined by libXfont */
> +#ifdef FONTSERVER
>      fs_register_fpe_functions();
> +#endif

I like the intent here, but libXfont is so much of a disaster that I'd
rather see the much more radical solution of copying it into the server
first and then trimming from there.

But in a narrow sense, that the server has to know what FPEs libXfont
implements at all is just silly.  Just make libXfont do:

void RegisterFpeFunctions(void) {
    BuiltinRegisterFpeFunctions();
    /* ... */
}

and compile _that_ conditionally based on what kind of FPEs you have.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100602/ef90794d/attachment.pgp>


More information about the xorg-devel mailing list