summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-07-05 15:24:11 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2007-07-05 19:02:11 +0100
commit7eaba5d5fbf83f66b39db42a89db3e7a892c2ea0 (patch)
treef6d93c15779c635ced5f998185d3e0fdfcdc64c3 /boilerplate
parentef967be630dd8d0bf81ad5889d6264bebe7631d4 (diff)
[configure] Only run PostScript tests if we have ghostscript.
During configure check for the ghostscript command line tool (gs) before enabling the PostScript surface tests for make check.
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/cairo-boilerplate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c
index 093a55aed..7a0f7e8e3 100644
--- a/boilerplate/cairo-boilerplate.c
+++ b/boilerplate/cairo-boilerplate.c
@@ -261,7 +261,7 @@ static cairo_boilerplate_target_t targets[] =
_cairo_boilerplate_xlib_cleanup,
_cairo_boilerplate_xlib_synchronize},
#endif
-#if CAIRO_HAS_PS_SURFACE
+#if CAIRO_HAS_PS_SURFACE && CAIRO_CAN_TEST_PS_SURFACE
{ "ps", CAIRO_SURFACE_TYPE_PS,
CAIRO_TEST_CONTENT_COLOR_ALPHA_FLATTENED, 0,
_cairo_boilerplate_ps_create_surface,