From de3555f83497498201aeea111292654e95fb5bd4 Mon Sep 17 00:00:00 2001 From: Benjamin Gordon Date: Fri, 20 Oct 2017 15:34:57 -0600 Subject: [PATCH] configure: Allow android as an EGL platform I'm working on radeonsi support in the Chrome OS Android container (ARC++). Mesa in ARC++ uses autotools instead of Android.mk, but all the necessary EGL bits are there, so the existing check is too strict. Signed-off-by: Benjamin Gordon Reviewed-by: Eric Engestrom --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index add3830f233..9aa02f55ded 100644 --- a/configure.ac +++ b/configure.ac @@ -2410,12 +2410,13 @@ dnl Surfaceless is an alternative for the last one. dnl require_basic_egl() { case "$with_platforms" in - *drm*|*surfaceless*) + *drm*|*surfaceless*|*android*) ;; *) AC_MSG_ERROR([$1 requires one of these: 1) --with-platforms=drm (X, Wayland, offscreen rendering based on DRM) 2) --with-platforms=surfaceless (offscreen only) + 3) --with-platforms=android (Android only) Recommended options: drm,x11]) ;; esac -- 2.30.2