[PATCH 1/4] configure.ac: default to DRI=yes on solaris platforms
Alan Coopersmith
alan.coopersmith at oracle.com
Thu Sep 29 18:15:20 UTC 2016
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 at 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 at oracle.com>
> Signed-off-by: Emil Velikov <emil.l.velikov at 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 at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list