Make sure HAVE_DRI3 is defined when DRI3 support is enabled.
Matches what is done for Linux. ok jsg@
This commit is contained in:
parent
eb834a5bcb
commit
caa5824472
3
lib/mesa/configure
vendored
3
lib/mesa/configure
vendored
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user