[cairo] [PATCH] Pull -lz for the script backend

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Thu Aug 11 17:03:16 UTC 2016


On 11.08.2016 14:30, Olivier Blin wrote:

>> diff --git a/configure.ac b/configure.ac
>> index 2ce1959..d90cf10 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -470,6 +470,9 @@ dnl
>> ===========================================================================
>>
>>   any2ppm_cs=no
>>   CAIRO_ENABLE_SURFACE_BACKEND(script, script, yes, [
>>     any2ppm_cs=yes
>> +  # The script backend requires zlib.
>> +  use_script=$have_libz
      ^^^^^^^

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.


--mtx



More information about the cairo mailing list