37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
--- cogl/configure.ac 2019-07-25 10:27:05.000000000 +0200
|
|
+++ cogl/configure.ac 2020-01-26 18:24:57.704883594 +0100
|
|
@@ -486,8 +486,9 @@
|
|
AC_SUBST([COGL_EGL_INCLUDES])
|
|
|
|
AC_CHECK_HEADERS([EGL/eglext.h],
|
|
- [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDE
|
|
-#include <EGL/eglext.h>"],
|
|
+ [COGL_EGL_INCLUDES="$COGL_EGL_INCLUDES
|
|
+#include <EGL/eglext.h>
|
|
+#include <EGL/eglmesaext.h"],
|
|
[],
|
|
[$COGL_EGL_INCLUDES])
|
|
|
|
@@ -749,6 +750,11 @@
|
|
[],
|
|
[AC_MSG_ERROR([Unable to locate required EGL headers])],
|
|
[#include <EGL/egl.h>])
|
|
+ AC_CHECK_HEADERS(
|
|
+ [EGL/eglmesaext.h],
|
|
+ [],
|
|
+ [AC_MSG_ERROR([Unable to locate required EGL headers])],
|
|
+ [#include <EGL/egl.h>])
|
|
|
|
AC_CHECK_LIB(EGL, [eglInitialize],
|
|
[COGL_EXTRA_LDFLAGS="$COGL_EXTRA_LDFLAGS -lEGL"],
|
|
@@ -759,7 +765,8 @@
|
|
)
|
|
|
|
COGL_EGL_INCLUDES="#include <EGL/egl.h>
|
|
-#include <EGL/eglext.h>"
|
|
+#include <EGL/eglext.h>
|
|
+#include <EGL/eglmesaext.h>"
|
|
AC_SUBST([COGL_EGL_INCLUDES])
|
|
])
|
|
|