[cairo] [PATCH] OS/2 backend support files

Peter Weilbacher (Mozilla) mozilla at Weilbacher.org
Mon Jul 31 14:27:32 PDT 2006


On Sat, 29 Jul 2006 10:28:56 +0300, Kalle Vahlman wrote:

>2006/7/29, Peter Weilbacher (Mozilla) <mozilla at weilbacher.org>:
>> I still have no clue where the "png_CFLAGS" are coming from but it probably
>> has something to do with the autotools magic, I see none of them in
>> configure.in but lots of them in configure (even though they don't appear in
>> the dir with all the autotools), e.g. the line
>>   png_CFLAGS  C compiler flags for png, overriding pkg-config
>
>Yes, this is due to calling
>
>  PKG_CHECK_MODULES(png, $png_REQUIRES)
>
>which automatically defines envvars like png_CFLAGS and png_LIBS. Also
>noticed that the backend testing uses mixed case variable elsewhere
>too and while I'm not sure I decrypted the (impressive looking, I
>might add ;) autofoo used there right, I bet there is more of them
>generated automatically from them.
>
>I guess those should be changed if it creates problems for some platforms?

OK, attached is the small patch to do that, but for now only for the PNG-related 
variables. (In the "./configure --help" output I see that the same occurs for 
xlib_xrender, xcb, glitz, and directfb. I could include the changes for those, 
too, if wanted.)

   Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 934 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060731/377edd30/attachment.obj


More information about the cairo mailing list