From 610f956fdead37da49ee2857a2261c3dfd8fc3cd Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 21 Jan 2019 19:44:45 +0000 Subject: [PATCH] configure: EGL requirements only apply if EGL is built Issue was hit with this configuration: --disable-{egl,gbm} --with-platform=drm Signed-off-by: Eric Engestrom Fixes: 3208fd2e46b ("configure: move platform handling further up") Reviewed-by: Emil Velikov --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index c7473d77eff..7530f65ad4a 100644 --- a/configure.ac +++ b/configure.ac @@ -1877,6 +1877,7 @@ for plat in $platforms; do ;; drm) + test "x$enable_egl" = "xyes" && test "x$enable_gbm" = "xno" && AC_MSG_ERROR([EGL platform drm needs gbm]) DEFINES="$DEFINES -DHAVE_DRM_PLATFORM" -- 2.30.2