Skip to contentSkip to conversation

configure.ac: fix dri enabled with kms only picked

PATCH In review Dave Airlie 2 participants 2 messages Aug 6, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure.ac: fix dri enabled with kms only picked

From: Dave Airlie <[email protected]>

Otherwise we'd fail saying DRI1 wasn't possible, when that is exactly what we asked for.

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index 104113e..88f29cc 100644
@@ -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
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 6 lines · Dave Airlie

From: Dave Airlie <[email protected]>

Otherwise we'd fail saying DRI1 wasn't possible, when that is exactly what we asked for.

Thanks. Oh, I see I don't usually test with an explicit --enable-dri and so missed this error path. Pushed,
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre