[PATCH:libfontenc] Fail configure if zlib.h & -lz not found
Mark Kettenis
mark.kettenis at xs4all.nl
Wed Nov 24 14:41:37 PST 2010
> Date: Sun, 21 Nov 2010 23:59:20 +0100
> From: =?ISO-8859-1?Q?R=E9mi_Cardona?= <remi at gentoo.org>
>
> 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.
No. On OpenBSD, zlib is part of the base system and therefore there
is no .pc file.
More information about the xorg-devel
mailing list