From: Daniel Martin Subject: [PATCH] Fix build of swrast only without libdrm Date: Thu, 28 Feb 2013 12:58:09 +0100 Message-ID: <1362052689-16407-1-git-send-email-consume.noise@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from a.mx.secunet.com (a.mx.secunet.com [195.81.216.161]) by gabe.freedesktop.org (Postfix) with ESMTP id 14619E5E53 for ; Thu, 28 Feb 2013 04:27:32 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel List-Id: dri-devel@lists.freedesktop.org Signed-off-by: Daniel Martin --- There's a small logic error preventing mesa to be build with swrast only and not having libdrm. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 5701f8a..aa1b38a 100644 --- a/configure.ac +++ b/configure.ac @@ -1089,7 +1089,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 && 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.7.2.5