[poppler] [patch] Allow to build without cairo

Brad Hards bradh at frogmouth.net
Fri Mar 4 13:49:04 PST 2005


On Sat, 5 Mar 2005 03:08 am, Kristian Høgsberg wrote:
> On Fri, 2005-03-04 at 12:26 +0100, Albert Astals Cid wrote:
> >A Divendres 04 Març 2005 11:45, Brad Hards va escriure:
> >> If you don't have cairo, the ./configure script dies (unless you use
> >> --disable-cairo-output), but there is a more pleasant way. With this
> >> patch, cairo is used if available.
> >
> >Even if you use --disable-cairo-output ? I mean if i have cairo available
> > but use --disable-cairo-output is it used? You sentence seems to imply
> > yes.
It works fine if you use --disable. However cairo isn't a hard dependency, so 
my logic is that if you don't have it, poppler should just figure that out 
and move along.

> The problem is that if you don't specify anything on the command line,
> the configure script will look for cairo and fail hard if it doesn't
> find it.  I've applied Brads patch with a small change; I still want
> configure to fail if you specify --enable-cairo_output and cairo isn't
> found.
Thanks.

Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20050305/0c90e7ae/attachment.pgp


More information about the poppler mailing list