configure: remove egl platforms check
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 8 Dec 2016 19:21:44 +0000 (19:21 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 17 Apr 2017 12:13:09 +0000 (13:13 +0100)
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@collabora.com>
configure.ac

index 9c2e8d589bb6825025673f3f7ca9f5eaaf8deb1f..4b11273146fc1bbce29e8dc85f0ec8a7f28c18b0 100644 (file)
@@ -2159,10 +2159,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='')