From 88740c4855babedbea420b5e1b35ae105d1f1026 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 8 Jan 2007 17:36:07 -0800 Subject: [PATCH] Use PKG_CHECK_EXISTS(libdrm) to determine if DRI should be enabled on Solaris --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index c4aafaa11..3b97e0478 100644 --- a/configure.ac +++ b/configure.ac @@ -353,6 +353,9 @@ case $host_os in DRI=yes KDRIVE_HW=yes ;; + *solaris*) + PKG_CHECK_EXISTS(libdrm, DRI=yes, DRI=no) + ;; esac AM_CONDITIONAL(KDRIVE_HW, test "x$KDRIVE_HW" = xyes) @@ -363,6 +366,8 @@ if test "x$use_x86_asm" = xyes && test "x$GCC" = xyes ; then #error Not supported #endif ], mmx_capable=yes, mmx_capable=no) +else + mmx_capable=no fi AC_MSG_RESULT([$mmx_capable]) AM_CONDITIONAL(MMX_CAPABLE, [test "x$mmx_capable" = xyes])