[cairo] PS module requires zlib but doesn't check for it

Jason Dorje Short jdorje at users.sf.net
Wed Mar 30 12:07:50 PST 2005


The postscript surface backend requires zlib to be present.  But there's 
no check for this in configure.in.

The attached patch just disables the PS module if zlib or zlib-dev isn't 
present (both library and header files are needed).  There may be a 
better fix however: maybe configure should tell the user why PS isn't 
being built, or maybe if zlib isn't present the PS module can be built 
without zlib (don't know if that's possible).

-jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ps.diff
Type: text/x-patch
Size: 1369 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050330/94b08982/ps.bin


More information about the cairo mailing list