From 27c0da66856b98defaf012d209e3231fd21b72cb Mon Sep 17 00:00:00 2001
From: Robert Bragg <robert@linux.intel.com>
Date: Wed, 13 Jul 2011 11:43:49 +0100
Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 725b9e40a..716283823 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],