[cogl] configure: Expose COGL_HAS_GLX_SUPPORT publicly



commit 27c0da66856b98defaf012d209e3231fd21b72cb
Author: Robert Bragg <robert linux intel com>
Date:   Wed Jul 13 11:43:49 2011 +0100

    configure: Expose COGL_HAS_GLX_SUPPORT publicly
    
    Instead of only exposing COGL_HAS_GLX_SUPPORT internally in config.h we
    now expose it though the public cogl-defines.h header.
    
    Signed-off-by: Neil Roberts <neil linux intel com>

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 725b9e4..7162838 100644
--- a/configure.ac
+++ b/configure.ac
@@ -568,7 +568,7 @@ AS_IF([test "x$enable_glx" = "xyes"],
         SUPPORT_GLX=yes
         GL_WINSYS_APIS="$GL_WINSYS_APIS glx"
 
-        AC_DEFINE([COGL_HAS_GLX_SUPPORT], [1], [Cogl supports OpenGL using the GLX API])
+        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],



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