[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    Re: [PATCH 1/4] configure.ac: default to DRI=yes on solaris platforms
From:       Alan Coopersmith <alan.coopersmith () oracle ! com>
Date:       2016-09-29 18:15:20
Message-ID: e1c136a8-56bf-2868-0020-d9e6621e566e () oracle ! com
[Download RAW message or body]

Solaris itself only includes DRI & libdrm in Solaris 11 and later - but since
that came out in 2011, I'm okay with making it the default case now and
requiring anyone wanting to backport a 2016 X server to a release from
2005 (Solaris 10) to have to build libdrm themselves first - I doubt it will
be the hardest hurdle they have to cross to do that.

Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

	-alan-

On 09/29/16 10:35 AM, Emil Velikov wrote:
> Afaict there's little-to-no reason/way one would want xserver without
> DRI support on Solaris platforms.
>
> This will allow us to simplify/fix all the libdrm detection in the next
> commit.
>
> Cc: Alan Coopersmith <alan.coopersmith@oracle.com>
> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 2b93a4a..90e84ab 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -411,7 +411,7 @@ case $host_os in
>  	DRI=yes
>  	;;
>    *solaris*)
> -	PKG_CHECK_EXISTS(libdrm, DRI=yes, DRI=no)
> +	DRI=yes
>  	;;
>    darwin*)
>  	AC_DEFINE(CSRG_BASED, 1, [System is BSD-like])
>


-- 
	-Alan Coopersmith-              alan.coopersmith@oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic