summaryrefslogtreecommitdiff
path: root/lib/mesa/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/configure.ac')
-rw-r--r--lib/mesa/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/mesa/configure.ac b/lib/mesa/configure.ac
index 429640ddc..d8d7decbb 100644
--- a/lib/mesa/configure.ac
+++ b/lib/mesa/configure.ac
@@ -1574,6 +1574,9 @@ if test "x$enable_dri" = xyes; then
;;
*freebsd* | dragonfly* | *netbsd* | openbsd*)
DEFINES="$DEFINES -DHAVE_ALIAS"
+ if test "x$enable_dri3" = xyes; then
+ DEFINES="$DEFINES -DHAVE_DRI3"
+ fi
;;
gnu*)
DEFINES="$DEFINES -DHAVE_ALIAS"