From: Emil Velikov Date: Fri, 19 Jun 2015 16:46:41 +0000 (+0100) Subject: configure: error out when building libEGL without shared-glapi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=994be5143a097ae2cf504ba344362edfee388ac3;p=mesa.git configure: error out when building libEGL without shared-glapi The latter is a hard requirement and without it we'll error out later on in the build. Cc: "10.5 10.6" Signed-off-by: Emil Velikov Reviewed-by: Eric Anholt --- diff --git a/configure.ac b/configure.ac index 8e62bd893ee..56095baa7e8 100644 --- a/configure.ac +++ b/configure.ac @@ -1543,6 +1543,9 @@ if test "x$enable_egl" = xyes; then if test "$enable_static" != yes; then if test "x$enable_dri" = xyes; then HAVE_EGL_DRIVER_DRI2=1 + if test "x$enable_shared_glapi" = xno; then + AC_MSG_ERROR([egl_dri2 requires --enable-shared-glapi]) + fi else # Avoid building an "empty" libEGL. Drop/update this # when other backends (haiku?) come along.