summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Zhao <yang@yangman.ca>2009-10-12 19:08:14 -0700
committerYang Zhao <yang@yangman.ca>2009-10-12 19:15:15 -0700
commitbfb6e13736fcd215acf7a5a3bfcf558c180ebc41 (patch)
tree4566569cc5af62e31a7cbef9d64da2f23a9870a2
parent34d975dbbeca76748e08a54ab724f176c7e1cf8e (diff)
configure: Remove check for GL/gl.h
Check was introduced by 69d4dabe27aba0ed6aff52d210b045876ed36fce, supposedly to work around an old Ubuntu bug. We use GL/glxtokens.h and GL/glxint.h but not GL/gl.h, which is not part of glproto anyway. Removing the check. If this end up causing problems, we can add explicit checks for the proper headers.
-rw-r--r--configure.ac4
1 files changed, 0 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 3615a9b..712e8e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,10 +169,6 @@ if test "x$DRI" = xyes; then
PKG_CHECK_MODULES(DRI, [libdrm >= 2.2 xf86driproto glproto],, [USE_DRI=no])
fi
-if test "x$USE_DRI" = xyes; then
- AC_CHECK_HEADER(GL/gl.h, [USE_DRI="yes"], [USE_DRI="no"])
-fi
-
AC_MSG_CHECKING([whether to enable DRI support])
AC_MSG_RESULT($USE_DRI)
test "x$USE_DRI" = xyes && AC_DEFINE(USE_DRI, 1, [Build support for DRI])