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

Rémi Cardona remi at gentoo.org
Sun Nov 21 14:59:20 PST 2010


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.

Cheers,

Rémi


More information about the xorg-devel mailing list