From bf309aab6072ee1004073e71bccdf3c8040a8ad6 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 15 Nov 2008 11:36:41 +0000 Subject: [PATCH] [configure] Delete CAN_TEST_SCRIPT A CairoScript interpreter is built under utils and so is always available. --- configure.ac | 3 --- test/any2ppm.c | 8 -------- 2 files changed, 11 deletions(-) diff --git a/configure.ac b/configure.ac index 9bc22e1d7..7384ccc41 100644 --- a/configure.ac +++ b/configure.ac @@ -238,10 +238,7 @@ dnl =========================================================================== any2ppm_cs=no CAIRO_ENABLE_SURFACE_BACKEND(script, script, no, [ - test_script=yes any2ppm_cs=yes - AC_DEFINE([CAIRO_CAN_TEST_SCRIPT_SURFACE], 1, - [Define to 1 if the CairoScript backend can be tested]) ]) dnl =========================================================================== diff --git a/test/any2ppm.c b/test/any2ppm.c index c4cf085e3..e39775b96 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 */