[SVG] Make dependent on --enable-png (and increase cache-version to 2)

This commit is contained in:
Behdad Esfahbod 2006-08-17 22:10:27 -04:00
parent 6f8cf53b1e
commit 64dd7a8203
2 changed files with 5 additions and 2 deletions

View file

@ -32,7 +32,7 @@ Themes and Schedules
cairo-1.2.4 (August 21, 2006): Fix build bugs with 1.2.2
- xlib detection requires libXt
- 7744: Compile troubles on AIX
- SVG backend requires PNG
- SVG backend requires PNG
✓- 7888: assertion failure with rotated bitmap glyphs
✓- 7889: cairo_text_path assertion failure on bitmap fonts
- Type1 on Windows (Adrian has a patch)

View file

@ -94,7 +94,7 @@ dnl cairo_cache_version should be increased every time that the backend
dnl detection stuff changes in a way that removing the config.cache file may be
dnl needed for correct operation.
dnl
m4_define(cairo_cache_version, 1)
m4_define(cairo_cache_version, 2)
dnl ===========================================================================
dnl
@ -500,6 +500,9 @@ AM_CONDITIONAL(CAIRO_HAS_MULTI_PAGE_SURFACES, test "x$use_ps" = "xyes" -o "x$use
dnl ===========================================================================
CAIRO_BACKEND_ENABLE(svg, SVG, svg, SVG_SURFACE, auto, [
if test "x$use_png" != "xyes"; then
use_svg="no (requires --enable-png)"
fi
])
if test "x$use_svg" = "xyes"; then