From: Emil Velikov Date: Fri, 19 Jun 2015 16:44:02 +0000 (+0100) Subject: configure: error out when building backend-less libEGL X-Git-Tag: upstream/17.1.0~18103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ddc886b5bfe5976fa2e5f49eeefa918736f1aa97;p=platform%2Fupstream%2Fmesa.git configure: error out when building backend-less libEGL Cc: "10.5 10.6" Signed-off-by: Emil Velikov Reviewed-by: Eric Anholt --- diff --git a/configure.ac b/configure.ac index 677fb5b..8e62bd8 100644 --- a/configure.ac +++ b/configure.ac @@ -1542,8 +1542,12 @@ 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 - fi + HAVE_EGL_DRIVER_DRI2=1 + else + # Avoid building an "empty" libEGL. Drop/update this + # when other backends (haiku?) come along. + AC_MSG_ERROR([egl requires --enable-dri]) + fi fi fi