From 601abeadcaa5507878d746b0ab94fc16b6228a7c Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Mon, 18 Jun 2012 15:05:09 +0200 Subject: [PATCH] build: remove unneeded check for libdrm Since fallback for vblank wait via manual drm ioctl was removed in commit 3bc70687ac92b237febeb0f369394e8e6bea9d53 there is no need to check for libdrm anymore. https://bugzilla.gnome.org/show_bug.cgi?id=678316 Reviewed-by: Robert Bragg (cherry picked from commit b84047a578b7746e421cd553e781788925cff90f) --- config.h.win32.in | 3 --- configure.ac | 8 -------- 2 files changed, 11 deletions(-) diff --git a/config.h.win32.in b/config.h.win32.in index 28dcce830..e180a9292 100644 --- a/config.h.win32.in +++ b/config.h.win32.in @@ -49,9 +49,6 @@ /* Define to 1 if you have the header file. */ /*#undef HAVE_DLFCN_H*/ -/* Have libdrm support */ -/*#undef HAVE_DRM*/ - /* Define to 1 if you have the header file. */ /*#undef HAVE_EGL_EGLEXT_H*/ diff --git a/configure.ac b/configure.ac index e5d716934..62cc3ea56 100644 --- a/configure.ac +++ b/configure.ac @@ -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"])