Mesa (master): configure.ac: default to disabled dri3 when --disable-dri is set
Emil Velikov
evelikov at kemper.freedesktop.org
Mon Nov 23 12:03:25 UTC 2015
Module: Mesa
Branch: master
Commit: b89d1b2ccf16c0bee3708560b69e99b6dbb212f0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b89d1b2ccf16c0bee3708560b69e99b6dbb212f0
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Sun Nov 22 22:05:01 2015 +0000
configure.ac: default to disabled dri3 when --disable-dri is set
Not too long ago, the dri3 code was living in src/glx, which in itself
was guarded by HAVE_DRI_GLX. As the name suggests we didn't dive into
the folder when dri was disabled, thus we missed that dri3 does not
consider/honour --enable-dri.
Cc: mesa-stable at lists.freedesktop.org
Fixes: 6bd9ba7d074 "loader: Add dri3 helper"
Cc: Pali Rohár <pali.rohar at gmail.com>
Reported-by: Pali Rohár <pali.rohar at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 120c93e..4016871 100644
--- a/configure.ac
+++ b/configure.ac
@@ -767,6 +767,11 @@ linux*)
dri3_default=no
;;
esac
+
+if test "x$enable_dri" = xno; then
+ dri3_default=no
+fi
+
AC_ARG_ENABLE([dri3],
[AS_HELP_STRING([--enable-dri3],
[enable DRI3 @<:@default=auto@:>@])],
More information about the mesa-commit
mailing list