[clutter/wip/stereo: 1/6] build: Don't actually check for glx for glx flavour



commit daba53c9c2f61a5083c4e2275fe8d4b9d1bccf1e
Author: Robert Bragg <robert linux intel com>
Date:   Thu Aug 4 16:04:52 2011 +0100

    build: Don't actually check for glx for glx flavour
    
    GLX is now totally abstracted by Cogl so the "glx" flavour is actually
    only used to determine the soname of clutter now so we don't actually
    have to check for the glx header or that libGL provides any GLX symbols.
    
    Reviewed-by: Neil Roberts <neil linux intel com>

 configure.ac |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 628f5f3..fb31952 100644
--- a/configure.ac
+++ b/configure.ac
@@ -393,14 +393,6 @@ AS_CASE([$CLUTTER_FLAVOUR],
 AS_IF([test "x$SUPPORT_GLX" = "x1"],
       [
         AC_DEFINE([HAVE_CLUTTER_GLX], [1], [Have the GLX backend])
-
-        AC_CHECK_HEADERS([GL/glx.h],
-                         [],
-                         [AC_MSG_ERROR([Unable to locate required GLX headers])])
-
-        AC_CHECK_LIB(GL, [glXCreateContext],
-                     [HAVE_LIBGLX=yes],
-                     [AC_MSG_ERROR([Required GLX library not found])])
       ])
 
 AS_IF([test "x$SUPPORT_WAYLAND" = "x1"],



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