[Mesa-dev] [PATCH v2 04/27] configure: loosen --with-platforms heuristics
Emil Velikov
emil.l.velikov at gmail.com
Thu May 4 16:29:49 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Remove the enable-egl pre-requirement. Platform selection does not
depend on EGL.
Cc: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
configure.ac | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8872a034153..f4f488a25bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1648,14 +1648,10 @@ AC_ARG_WITH([egl-platforms],
[with_egl_platforms=auto])
if test "x$with_egl_platforms" = xauto; then
- if test "x$enable_egl" = xyes; then
- if test "x$enable_gbm" = xyes; then
- with_egl_platforms="x11,drm"
- else
- with_egl_platforms="x11"
- fi
+ if test "x$enable_gbm" = xyes; then
+ with_egl_platforms="x11,drm"
else
- with_egl_platforms=""
+ with_egl_platforms="x11"
fi
else
AC_MSG_WARN([--with-egl-platforms is deprecated. Use --with-platforms instead.])
--
2.12.2
More information about the mesa-dev
mailing list