Message ID | 1375758198-25144-1-git-send-email-airlied@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Aug 06, 2013 at 01:03:18PM +1000, Dave Airlie wrote: > From: Dave Airlie <airlied@redhat.com> > > Otherwise we'd fail saying DRI1 wasn't possible, when that > is exactly what we asked for. > > Signed-off-by: Dave Airlie <airlied@redhat.com> Thanks. Oh, I see I don't usually test with an explicit --enable-dri and so missed this error path. Pushed, -Chris
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