summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2011-07-13 11:43:49 +0100
committerRobert Bragg <robert@linux.intel.com>2011-07-13 19:06:19 +0100
commit27c0da66856b98defaf012d209e3231fd21b72cb (patch)
tree6011750ee4e94a16b25a56e1cbf62394e50ce6ad
parent3ed8c8d0ba91143219673899c59d0e22834212e2 (diff)
downloadcogl-27c0da66856b98defaf012d209e3231fd21b72cb.tar.gz
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>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 725b9e40..71628382 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],