mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-30 23:47:59 +02:00
[configure] Delete CAN_TEST_SCRIPT
A CairoScript interpreter is built under utils and so is always available.
This commit is contained in:
parent
d7873eecc5
commit
bf309aab60
2 changed files with 0 additions and 11 deletions
|
|
@ -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 ===========================================================================
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue