[Libreoffice-commits] core.git: configure.ac

Michael Stahl Michael.Stahl at cib.de
Tue Apr 3 22:02:18 UTC 2018


 configure.ac |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e2e3118465411448a3b1f5e56c3456384c009f99
Author: Michael Stahl <Michael.Stahl at cib.de>
Date:   Tue Apr 3 13:16:53 2018 +0200

    configure: check for EGL header if EGL is required
    
    Change-Id: Id7501b9adcd817ce84bfde3a928fe8b4c7e7e01f
    Reviewed-on: https://gerrit.libreoffice.org/52330
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/configure.ac b/configure.ac
index e2d5c8c5e320..744b4ee4b2ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9895,6 +9895,8 @@ if test "x$enable_gtk3" = "xyes"; then
     dnl We require egl only for the gtk3 plugin. Otherwise we use glx.
     if test "$with_system_epoxy" != "yes"; then
         AC_CHECK_LIB(EGL, eglMakeCurrent, [:], AC_MSG_ERROR([libEGL required.]))
+        AC_CHECK_HEADER(EGL/eglplatform.h, [],
+                        [AC_MSG_ERROR(EGL headers not found. install mesa-libEGL-devel)], [])
     fi
 fi
 AC_SUBST(GTK3_LIBS)


More information about the Libreoffice-commits mailing list