Mesa (master): configure: error out when building libEGL without shared-glapi
Emil Velikov
evelikov at kemper.freedesktop.org
Tue Jun 23 16:07:39 UTC 2015
Module: Mesa
Branch: master
Commit: 994be5143a097ae2cf504ba344362edfee388ac3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=994be5143a097ae2cf504ba344362edfee388ac3
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Fri Jun 19 17:46:41 2015 +0100
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" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 8e62bd8..56095ba 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.
More information about the mesa-commit
mailing list