summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2005-09-22 14:20:53 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2005-09-22 14:20:53 +0000
commit45a0e677c8332c19e003cd85caa22b6f8376ab1f (patch)
tree62bfa4e18720de9ef073076e35bd21283369cedc
parent71d1b743cab6e93ef33bcb840f2da6e0068dfac2 (diff)
Fixed DRI detection in the sunffb configure script. Without this DRI was
not detected properly. As a result DRM include paths were missing on the compiler command line and the build failed if DRI was enabled in the Xorg server. Committing after no feedback from the xorg-modular list in over a week. If it breaks something, feel free to revert this and revoke my commit rights. ;-)
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 33b05de..c050c40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"