summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 21a0bf9f..bd654f3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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