[Mesa-dev] [PATCH 06/11] configure: error out when building backend-less libEGL
Emil Velikov
emil.l.velikov at gmail.com
Fri Jun 19 12:56:51 PDT 2015
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
configure.ac | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
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
--
2.4.2
More information about the mesa-dev
mailing list