[Mesa-dev] [PATCH 04/28] configure: remove egl platforms check

Emil Velikov emil.l.velikov at gmail.com
Thu Dec 8 19:21:44 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

The configure option is used by more than just EGL and with next commit
we'll rename it accordingly. Thus having the check will (and is atm)
incorrect.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 configure.ac | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4d35c5b..9d21484 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2204,10 +2204,6 @@ AC_ARG_WITH([egl-platforms],
         with_egl_platforms=""
     fi])
 
-if test "x$with_egl_platforms" != "x" -a "x$enable_egl" != xyes; then
-    AC_MSG_ERROR([cannot build egl state tracker without EGL library])
-fi
-
 PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner],
         WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`,
         WAYLAND_SCANNER='')
-- 
2.10.2



More information about the mesa-dev mailing list