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"