mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 07:38:22 +02:00
[configure.in] Make PS backend require zlib too (#12210)
The PS backend uses zlib these days. Make it depend on zlib being available like PDF has been doing.
This commit is contained in:
parent
7f726e5754
commit
114b07881e
1 changed files with 6 additions and 1 deletions
|
|
@ -535,7 +535,12 @@ fi
|
|||
|
||||
dnl ===========================================================================
|
||||
|
||||
CAIRO_BACKEND_ENABLE(ps, PostScript, ps, PS_SURFACE, auto, [use_ps=yes])
|
||||
CAIRO_BACKEND_ENABLE(ps, PostScript, ps, PS_SURFACE, auto, [
|
||||
# The ps backend requires zlib.
|
||||
use_ps=$have_libz
|
||||
ps_NONPKGCONFIG_LIBS=-lz
|
||||
])
|
||||
|
||||
test_ps=no
|
||||
if test "x$use_ps" = "xyes"; then
|
||||
AC_CHECK_PROG(GS, gs, gs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue