From edb5a65f93189472814afa97b1e3a54b2478b543 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 3 May 2017 21:24:26 +0100 Subject: [PATCH] configure: loosen --with-platforms heuristics Remove the enable-egl pre-requirement. Platform selection does not depend on EGL. Cc: Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom --- configure.ac | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 2c930004cfb..de422107a26 100644 --- a/configure.ac +++ b/configure.ac @@ -1643,14 +1643,10 @@ AC_ARG_WITH([egl-platforms], [with_egl_platforms=auto]) if test "x$with_egl_platforms" = xauto; then - if test "x$enable_egl" = xyes; then - if test "x$enable_gbm" = xyes; then - with_egl_platforms="x11,drm" - else - with_egl_platforms="x11" - fi + if test "x$enable_gbm" = xyes; then + with_egl_platforms="x11,drm" else - with_egl_platforms="" + with_egl_platforms="x11" fi else AC_MSG_WARN([--with-egl-platforms is deprecated. Use --with-platforms instead.]) -- 2.30.2