From: Benjamin Gordon Date: Fri, 20 Oct 2017 21:34:57 +0000 (-0600) Subject: configure: Allow android as an EGL platform X-Git-Tag: android-x86-8.1-r1~8707 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=de3555f83497498201aeea111292654e95fb5bd4;p=android-x86%2Fexternal-mesa.git 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 --- 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