[cogl] build: remove unneeded check for libdrm



commit b84047a578b7746e421cd553e781788925cff90f
Author: Antoine Jacoutot <ajacoutot gnome org>
Date:   Mon Jun 18 15:05:09 2012 +0200

    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 <robert linux intel com>

 config.h.win32.in |    3 ---
 configure.ac      |    8 --------
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/config.h.win32.in b/config.h.win32.in
index 28dcce8..e180a92 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -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*/
 
diff --git a/configure.ac b/configure.ac
index d534cf7..1121bab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -670,14 +670,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"])
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]