summaryrefslogtreecommitdiff
path: root/test/any2ppm.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-11-15 11:36:41 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-11-16 16:21:37 +0000
commitbf309aab6072ee1004073e71bccdf3c8040a8ad6 (patch)
tree0e3a7c0a0a10dee147ed36e2c62b403012fe07a4 /test/any2ppm.c
parentd7873eecc598a558a2a862add8e9b056c4a23a4a (diff)
[configure] Delete CAN_TEST_SCRIPT
A CairoScript interpreter is built under utils and so is always available.
Diffstat (limited to 'test/any2ppm.c')
-rw-r--r--test/any2ppm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/any2ppm.c b/test/any2ppm.c
index c4cf085e..e39775b9 100644
--- a/test/any2ppm.c
+++ b/test/any2ppm.c
@@ -236,7 +236,6 @@ write_ppm (cairo_surface_t *surface, int fd)
return NULL;
}
-#if CAIRO_CAN_TEST_SCRIPT_SURFACE
static cairo_surface_t *
_create_image (void *closure,
double width, double height)
@@ -293,13 +292,6 @@ cs_convert (char **argv, int fd)
return err;
}
-#else
-static const char *
-cs_convert (char **argv, int fd)
-{
- return "compiled without CairoScript support.";
-}
-#endif
#if CAIRO_CAN_TEST_PDF_SURFACE
/* adapted from pdf2png.c */