mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 20:10:14 +01:00
configure.ac: Fixing common dri dependency when using dri state tracker
Fixes a regression caused by b587a7595e
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59261
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
This commit is contained in:
parent
ac1c2b8238
commit
67ef755908
1 changed files with 2 additions and 2 deletions
|
|
@ -1079,8 +1079,8 @@ if test "x$enable_dri" = xyes; then
|
||||||
LIBS="$save_LIBS"
|
LIBS="$save_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if we are building any dri driver other than swrast ...
|
# if we are building any dri driver other than swrast or using the dri state tracker ...
|
||||||
if test -n "$DRI_DIRS" -a x"$DRI_DIRS" != xswrast; then
|
if test -n "$DRI_DIRS" -a x"$DRI_DIRS" != xswrast || test "x$enable_dri" = xyes; then
|
||||||
# ... libdrm is required
|
# ... libdrm is required
|
||||||
if test "x$have_libdrm" != xyes; then
|
if test "x$have_libdrm" != xyes; then
|
||||||
AC_MSG_ERROR([DRI drivers requires libdrm >= $LIBDRM_REQUIRED])
|
AC_MSG_ERROR([DRI drivers requires libdrm >= $LIBDRM_REQUIRED])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue