[Cairo] Re: Patch for cairo --without-x
Evan Martin
martine at danga.com
Tue Dec 2 12:28:22 PST 2003
On Mon, Dec 01, 2003 at 02:09:34PM +0800, James Henstridge wrote:
> >Conditional installation of headers is evil, as it requires apps to
> >check not only for cairo, but also for its individual headers, while
> >configuring self. Also it makes impossible explicit include of it in
> >main header cairo.h.
>
> If an app requires xlib support, is it really that much of a problem to
> check for a cairo-xlib.h header? If using autoconf, it is only a single
> line in the configure.in file to perform such a check.
Or, the way GTK does it: there's a gtk+-x11-2.0 pkg-config module.
Then you just need to add the cairo-x11 module to your list of modules
in your autoconf script.
--
Evan Martin
martine at danga.com
http://neugierig.org
More information about the cairo
mailing list