Re: [PATCH 16/72] drm: fix importing of libdrm

Bryce Harrington <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Tue, Dec 29, 2015 at 10:16:54AM +0100, Enrico Weigelt, metux IT consult wrote:
> We need to link against libdrm to use its functions.
> 
> Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>

Rather a no-brainer, surprised this wasn't specified already.

Reviewed-by: Bryce Harrington <[email protected]>

> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 2ce1959..a3cf311 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -296,7 +296,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(beos, BeOS/Zeta, no, [
>  dnl ===========================================================================
>  
>  CAIRO_ENABLE_SURFACE_BACKEND(drm, DRM, no, [
> -  drm_REQUIRES="libudev >= 136"
> +  drm_REQUIRES="libudev >= 136, libdrm >= 2.4"
>    PKG_CHECK_MODULES(drm, $drm_REQUIRES, ,
>     [use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"])
>  ])
> -- 
> 2.6.4.442.g545299f
> 
> -- 
> cairo mailing list
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.