From: Daniel Martin Date: Thu, 28 Feb 2013 18:39:06 +0000 (+0100) Subject: Fix build of swrast only without libdrm X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=998d975e3;p=mesa.git Fix build of swrast only without libdrm Reviewed-by: Matt Turner Signed-off-by: Daniel Martin --- diff --git a/configure.ac b/configure.ac index 5f95a78d26f..785259554bb 100644 --- a/configure.ac +++ b/configure.ac @@ -1095,7 +1095,7 @@ if test "x$enable_dri" = xyes; then fi # 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 + if test -n "$DRI_DIRS" -a x"$DRI_DIRS" != xswrast -a "x$enable_dri" = xyes; then # ... libdrm is required if test "x$have_libdrm" != xyes; then AC_MSG_ERROR([DRI drivers requires libdrm >= $LIBDRM_REQUIRED])