configure.ac: fix dri enabled with kms only picked
Otherwise we'd fail saying DRI1 wasn't possible, when that
is exactly what we asked for.
[ickle: The breakage was introduced with
commit bd6ffd1ad2 [2.21.14]
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Sat Jul 27 15:33:19 2013 +0100
configure: Print a summary of compilation options
which modified the search to only take place if UMS was enabled, but
missed mollifying the resulting error.]
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
a875ba39be
commit
6004870d53
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue