From: Dave Airlie Subject: [PATCH] configure.ac: fix dri enabled with kms only picked Date: Tue, 6 Aug 2013 13:03:18 +1000 Message-ID: <1375758198-25144-1-git-send-email-airlied@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by gabe.freedesktop.org (Postfix) with ESMTP id 43D00E5EA8 for ; Mon, 5 Aug 2013 20:03:23 -0700 (PDT) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7633NsL013038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 5 Aug 2013 23:03:23 -0400 Received: from prime.bne.redhat.com (dhcp-41-132.bne.redhat.com [10.64.41.132]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r7633LKl024923 for ; Mon, 5 Aug 2013 23:03:22 -0400 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org From: Dave Airlie Otherwise we'd fail saying DRI1 wasn't possible, when that is exactly what we asked for. Signed-off-by: Dave Airlie --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 104113e..88f29cc 100644 --- a/configure.ac +++ b/configure.ac @@ -433,7 +433,7 @@ else DRI1_CFLAGS="" DRI1_LIBS="" - if test "x$enable_dri" = "xyes"; then + if test "x$enable_dri" = "xyes" -a "x$KMS_ONLY" != "xyes"; then AC_MSG_ERROR([DRI1 requested but prerequisites not found]) fi fi -- 1.8.3.1