[cogl/cogl-1.12: 3/7] build: remove unneeded check for libdrm



commit 601abeadcaa5507878d746b0ab94fc16b6228a7c
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>
    
    (cherry picked from commit b84047a578b7746e421cd553e781788925cff90f)

 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 e5d7169..62cc3ea 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"])
 



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