summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKevin E Martin <kem@redhat.com>2005-11-01 15:08:53 +0000
committerKevin E Martin <kem@redhat.com>2005-11-01 15:08:53 +0000
commitf73c23b4c588c2f5dbc3c36a2f43b8bbb1e0f36a (patch)
treeb044c0a5368244e342f014793b9c9c03040fc1eb /configure.ac
parent25a63bfefda420f85b3cba89bdae4b35ef80c84f (diff)
Update pkgcheck depedencies to work with separate build roots.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7787be26..9ad256d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,8 +51,14 @@ AC_ARG_ENABLE(dri, AC_HELP_STRING([--disable-dri],
[DRI="$enableval"],
[DRI=auto])
+
+# Checks for extensions
+XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
+XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
+
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XORG, [xorg-server xproto xvmc])
+PKG_CHECK_MODULES(XORG, [xorg-server xproto xvmc fontsproto $REQUIRED_MODULES])
+AC_MSG_RESULT([yes])
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
# Checks for libraries.