Pango doesn't build when configured with --without-cairo since 1.36.7 (up until 1.40.4)
Submitted by dav..@..ac.org
Link to original bug (#779748)
Description
I am trying to bootstrap a pango/cairo build. Pango doesn't build without cairo due to some tests apparently relying on it. Version 1.36.6 builds, version 1.36.7 and after fails. Sample from 1.40.4:
$ ./configure --without-cairo checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes (...) config.status: creating pango/pango-features.h config.status: pango/pango-features.h is unchanged configuration: backends: FreeType
$ make
(...)
Making all in tests
make[2]: Entering directory /home/davmac/prog/pango-1.40.4/tests' CC testboundaries.o CCLD testboundaries CC testboundaries_ucd.o CCLD testboundaries_ucd CC testcolor.o CCLD testcolor CC testscript.o CCLD testscript CC markup-parse.o In file included from markup-parse.c:26:0: ../pango/pangocairo.h:26:19: fatal error: cairo.h: No such file or directory #include <cairo.h> ^ compilation terminated. make[2]: *** [markup-parse.o] Error 1 make[2]: Leaving directory
/home/davmac/prog/pango-1.40.4/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/davmac/prog/pango-1.40.4'
make: *** [all] Error 2
Version: 1.40.x