configure: Fix DRI2 build

One s/DRI2/have_dri2/ too far.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-06-13 09:15:30 +01:00
parent d47a01fce4
commit 5a0cb1049c
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ have_dri2=no
have_dri3=no
if test "x$DRI" != "xno"; then
if test "x$DRI2" != "xno"; then
PKG_CHECK_MODULES(have_dri2, [dri2proto >= 2.6], [have_dri2=$DRI], [have_dri2=no])
PKG_CHECK_MODULES(DRI2, [dri2proto >= 2.6], [have_dri2=$DRI], [have_dri2=no])
fi
if test "x$have_dri2" != "xno"; then
save_CFLAGS=$CFLAGS