summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-07-14 22:20:16 +0000
committerKevin E Martin <kem@kem.org>2005-07-14 22:20:16 +0000
commitdefeb56fc9559661fa632935a4c76c500c7edcf4 (patch)
tree8aa0d03955a2e8a86609826697a668e296b33602 /configure.ac
parent6b546d0ec07e493b501e82300b3e6c143cd4d0ac (diff)
Fix the build when DRI is enabled
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 410c8b664..d99d005ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -392,7 +392,8 @@ AM_CONDITIONAL(DRI, test x$DRI = xyes)
if test "$DRI" = yes; then
AC_DEFINE(XORGDRI,1,[Build DRI extension])
AC_DEFINE(_XORGDRI_SERVER_,1,[XORGDRI internal define])
- REQUIRED_MODULES="$REQUIRED_MODULES xf86driproto"
+ PKG_CHECK_MODULES([DRIPROTO], [xf86driproto])
+ AC_SUBST(DRIPROTO_CFLAGS)
fi
AC_DEFINE(XINPUT,1,[Support X Input extension])
EXTENSION_LIBS="$EXTENSION_LIBS "'$(top_builddir)/Xi/libXi.la'