[PATCH:libfontenc] Fail configure if zlib.h & -lz not found

Dan Nicholson dbn.lists at gmail.com
Sun Nov 21 17:09:16 PST 2010


On Sun, Nov 21, 2010 at 2:59 PM, Rémi Cardona <remi at gentoo.org> wrote:
> Le 20/11/2010 07:04, Alan Coopersmith a écrit :
>>  # zlib
>> -
>> -AC_CHECK_LIB(z, gzclose)
>> +AC_CHECK_HEADER([zlib.h], [],
>> +                AC_MSG_FAILURE([zlib.h is required to compile libfontenc]))
>> +AC_CHECK_LIB(z, gzclose, [],
>> +             AC_MSG_FAILURE([zlib is required to compile libfontenc]))
>
> Any chance we could start using pkg-config to pick up zlib
> libs/includes? If memory serves, the .pc file was included upstream 2 or
> 3 years ago.

Yeah, looks like it's been there since 2006 in the 1.2.3.1 release.

http://zlib.net/ChangeLog.txt

--
Dan


More information about the xorg-devel mailing list