Mesa (master): configure: explicitly require shared glapi for enable-dri
Emil Velikov
evelikov at kemper.freedesktop.org
Wed Jan 18 16:03:37 UTC 2017
Module: Mesa
Branch: master
Commit: da410e6afad30126fde993782f60404bd976cbc9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da410e6afad30126fde993782f60404bd976cbc9
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Wed Dec 7 13:25:00 2016 +0000
configure: explicitly require shared glapi for enable-dri
We've been using and depending on it for at least a couple of years.
Make it obvious and error out, should one opt for it.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
configure.ac | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1d719be..6771aa6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1585,9 +1585,7 @@ if test "x$enable_shader_cache" = "xyes"; then
fi
if test "x$enable_dri" = xyes; then
- if test "$enable_static" = yes; then
- AC_MSG_ERROR([Cannot use static libraries for DRI drivers])
- fi
+ require_dri_shared_libs_and_glapi "DRI"
# not a hard requirement as swrast does not depend on it
if test "x$have_libdrm" = xyes; then
More information about the mesa-commit
mailing list