Fixes: 2c4f6ceeb466cb15df34 "configure.ac: Fail if egl x11 platform
                             dependencies are not available"
Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index c7473d77eff2345145ff..7530f65ad4a09d9b311c 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"
-- 
Cheers,
  Eric

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to