[configure] Delete CAN_TEST_SCRIPT

A CairoScript interpreter is built under utils and so is always available.
This commit is contained in:
Chris Wilson 2008-11-15 11:36:41 +00:00
parent d7873eecc5
commit bf309aab60
2 changed files with 0 additions and 11 deletions

View file

@ -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 ===========================================================================

View file

@ -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 */