Test the right variables for turning on DRI support.

This commit is contained in:
Eric Anholt
2005-09-14 09:12:17 +00:00
parent f6def46f0b
commit 08c93fc60c

View File

@@ -70,9 +70,9 @@ fi
AC_MSG_CHECKING([whether to include DRI support])
if test x$DRI = xauto; then
if test "$ac_cv_header_dri_h" = yes -a \
"$ac_cv_header_sarea_h" = yes -a \
"$ac_cv_header_dristruct_h" = yes; then
if test "$have_dri_h" = yes -a \
"$have_sarea_h" = yes -a \
"$have_dristruct_h" = yes; then
DRI="yes"
else
DRI="no"