From d9f6106766ca0041fe46994d188e66d5a1ed3820 Mon Sep 17 00:00:00 2001 From: Alexandre Demers Date: Sat, 12 Jan 2013 01:21:44 -0500 Subject: [PATCH] Fixing common dri dependency when using dri state tracker. Fixes bug 59261 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 72df83c..bde5b05 100644 --- a/configure.ac +++ b/configure.ac @@ -1079,8 +1079,8 @@ if test "x$enable_dri" = xyes; then LIBS="$save_LIBS" fi - # if we are building any dri driver other than swrast ... - if test -n "$DRI_DIRS" -a x"$DRI_DIRS" != xswrast; then + # 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 || test "x$enable_dri" = xyes; then # ... libdrm is required if test "x$have_libdrm" != xyes; then AC_MSG_ERROR([DRI drivers requires libdrm >= $LIBDRM_REQUIRED]) -- 1.8.1