]> git.pld-linux.org Git - packages/cogl.git/blob - cogl-egl.patch
- updated to 1.22.6
[packages/cogl.git] / cogl-egl.patch
1 diff --git a/configure.ac b/configure.ac
2 index a9a81c9de385e326b622502433cffdaea162462e..1f0c6060672708d2f6701ea6c55784351052c8cf 100644
3 --- a/configure.ac
4 +++ b/configure.ac
5 @@ -685,10 +685,15 @@ AS_IF([test "x$enable_gles1" = "xyes"],
6              AC_SUBST([COGL_EGL_INCLUDES])
7  
8              AC_CHECK_HEADERS([EGL/eglext.h],
9 -                             [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDE
10 +                             [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDES
11  #include <EGL/eglext.h>"],
12                               [],
13                               [$COGL_EGL_INCLUDES])
14 +            AC_CHECK_HEADERS([EGL/eglmesaext.h],
15 +                             [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDES
16 +#include <EGL/eglmesaext.h>"],
17 +                             [],
18 +                             [$COGL_EGL_INCLUDES])
19  
20              # Check for a GLES 1.x Common Profile library with/without EGL.
21              #
22 @@ -1216,6 +1221,12 @@ AS_IF([test "x$NEED_EGL" = "xyes" && test "x$EGL_CHECKED" != "xyes"],
23                [],
24                [AC_MSG_ERROR([Unable to locate required EGL headers])],
25                [#include <EGL/egl.h>])
26 +            AC_CHECK_HEADERS(
27 +              [EGL/eglmesaext.h],
28 +              [],
29 +              [AC_MSG_ERROR([Unable to locate required EGL headers])],
30 +              [#include <EGL/egl.h>
31 +#include <EGL/eglext.h>])
32  
33              AC_CHECK_LIB(EGL, [eglInitialize],
34                [COGL_EXTRA_LDFLAGS="$COGL_EXTRA_LDFLAGS -lEGL"],
35 @@ -1226,7 +1237,8 @@ AS_IF([test "x$NEED_EGL" = "xyes" && test "x$EGL_CHECKED" != "xyes"],
36            )
37  
38          COGL_EGL_INCLUDES="#include <EGL/egl.h>
39 -#include <EGL/eglext.h>"
40 +#include <EGL/eglext.h>
41 +#include <EGL/eglmesaext.h>"
42          AC_SUBST([COGL_EGL_INCLUDES])
43        ])
44  
This page took 0.119852 seconds and 3 git commands to generate.