summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-12-07 13:25:00 +0000
committerEmil Velikov <[email protected]>2017-01-18 16:01:15 +0000
commitda410e6afad30126fde993782f60404bd976cbc9 (patch)
tree1a8de29c97303e20c74420e35959f9d9fb1ac7f6
parentb628fdd6e7ab02e2ad002b155d7842260459fccc (diff)
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 <[email protected]>
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 1d719be352f..6771aa64e16 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