Make sure HAVE_DRI3 is defined when DRI3 support is enabled.

Matches what is done for Linux.

ok jsg@
This commit is contained in:
kettenis 2018-06-07 09:25:32 +00:00
parent eb834a5bcb
commit caa5824472
2 changed files with 6 additions and 0 deletions

3
lib/mesa/configure vendored
View File

@ -23288,6 +23288,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"

View File

@ -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"