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 <[email protected]>

        -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 <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
---
 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-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to