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>
This commit is contained in:
Robert Bragg 2011-07-13 11:43:49 +01:00
parent 3ed8c8d0ba
commit 27c0da6685

View File

@ -568,7 +568,7 @@ AS_IF([test "x$enable_glx" = "xyes"],
SUPPORT_GLX=yes SUPPORT_GLX=yes
GL_WINSYS_APIS="$GL_WINSYS_APIS glx" 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 # We might fall back to DRM for sync-to-vblank on GLX
PKG_CHECK_EXISTS([libdrm], PKG_CHECK_EXISTS([libdrm],