[cairo] [PATCH] Pull -lz for the script backend
ajohnson at redneon.com
Fri Aug 12 13:24:01 UTC 2016
On 12/08/16 22:38, Enrico Weigelt, metux IT consult wrote:
> On 12.08.2016 11:04, Olivier Blin wrote:
>>> Looks like this would silently disable the script backend if libz
>>> is missing. IMHO, a very bad idea - instead it should break with a
>>> proper error message.
>> This is actually copy/paste of what is already properly done for the
>> PostScript and PDF backends.
>> CAIRO_ENABLE_SURFACE_BACKEND(pdf, PDF, yes, [
>> # The pdf backend requires zlib.
> Right, there seems to be the same problem.
> I'd suggest emitting an error here.
Looking at the macro definition it appears to emit an error if a feature
is enabled without the required dependencies.
build/aclocal.enable.m4 lines 88 to 96:
AS_IF([test "x$enable_$1" = "xyes" -a "x$use_$1" != xyes],
) cr_feature_name[ feature could not be enabled])
More information about the cairo