> Date: Wed, 24 Nov 2010 14:49:47 -0800 > From: Alan Coopersmith <[email protected]> > > Mark Kettenis wrote: > >> Date: Sun, 21 Nov 2010 23:59:20 +0100 > >> From: =?ISO-8859-1?Q?R=E9mi_Cardona?= <[email protected]> > >> > >> 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. > > Which sounds like another reason to use the approach Dan suggested, of > checking pkg-config first, then falling back to the current header/lib > checks if that fails.
Yes, that'd be fine. Don't really see the added benefit of that though. Are there really systems out there that don't have zlib in the default search path?
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
