configure.ac: fix dri enabled with kms only picked
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.
Signed-off-by Dave Airlie <[email protected]>
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -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
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.
Signed-off-by Dave Airlie <[email protected]>
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