Commit 2ab736e2 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Check the correct variable for the Wayland EGL library.

parent 47e9980b
...@@ -16356,7 +16356,7 @@ CPPFLAGS=$ac_save_CPPFLAGS ...@@ -16356,7 +16356,7 @@ CPPFLAGS=$ac_save_CPPFLAGS
if test "x$with_wayland" != "x" if test "x$with_wayland" != "x"
then then
if test -z "$ac_cv_lib_soname_EGL" -o -z "$HAVE_LIBWAYLAND_EGL" if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
then : then :
case "x$with_opengl" in case "x$with_opengl" in
x) as_fn_append wine_notices "|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;; x) as_fn_append wine_notices "|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
......
...@@ -1392,7 +1392,7 @@ then ...@@ -1392,7 +1392,7 @@ then
[WAYLAND_EGL_LIBS=""],[$WAYLAND_EGL_LIBS])])]) [WAYLAND_EGL_LIBS=""],[$WAYLAND_EGL_LIBS])])])
if test "x$with_wayland" != "x" if test "x$with_wayland" != "x"
then then
WINE_NOTICE_WITH(opengl, [test -z "$ac_cv_lib_soname_EGL" -o -z "$HAVE_LIBWAYLAND_EGL"], WINE_NOTICE_WITH(opengl, [test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes],
[EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL]) [EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL])
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment