build: remove unneeded check for libdrm

Since fallback for vblank wait via manual drm ioctl was removed in
commit 3bc70687ac there is no need to
check for libdrm anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=678316

Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit b84047a578b7746e421cd553e781788925cff90f)
This commit is contained in:
Antoine Jacoutot 2012-06-18 15:05:09 +02:00 committed by Robert Bragg
parent 41539dd7f0
commit 601abeadca
2 changed files with 0 additions and 11 deletions

View File

@ -49,9 +49,6 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
/*#undef HAVE_DLFCN_H*/
/* Have libdrm support */
/*#undef HAVE_DRM*/
/* Define to 1 if you have the <EGL/eglext.h> header file. */
/*#undef HAVE_EGL_EGLEXT_H*/

View File

@ -679,14 +679,6 @@ AS_IF([test "x$enable_glx" = "xyes"],
GL_WINSYS_APIS="$GL_WINSYS_APIS glx"
COGL_DEFINES_SYMBOLS="$COGL_DEFINES_SYMBOLS COGL_HAS_GLX_SUPPORT"
# We might fall back to DRM for sync-to-vblank on GLX
PKG_CHECK_EXISTS([libdrm],
[
AC_DEFINE([HAVE_DRM], [1], [Have libdrm support])
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES libdrm"
],
[])
])
AM_CONDITIONAL(SUPPORT_GLX, [test "x$SUPPORT_GLX" = "xyes"])