Use PKG_CHECK_EXISTS(libdrm) to determine if DRI should be enabled on Solaris
This commit is contained in:
parent
282a4dcaab
commit
88740c4855
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue
Block a user