mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
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> Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
a18a8a3ae2
commit
2ba1a19870
@ -404,14 +404,6 @@ AS_IF([test "x$SUPPORT_X11" = "x1"],
|
|||||||
AS_IF([test "x$SUPPORT_GLX" = "x1"],
|
AS_IF([test "x$SUPPORT_GLX" = "x1"],
|
||||||
[
|
[
|
||||||
AC_DEFINE([HAVE_CLUTTER_GLX], [1], [Have the GLX backend])
|
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"],
|
AS_IF([test "x$SUPPORT_WAYLAND" = "x1"],
|
||||||
|
Loading…
Reference in New Issue
Block a user