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
commitdde6dd1c7f95f9dccabfd919ad4ced795fe3fbd1 (patch)
treef63926fbf869fba1273b68eb5b41e7a1b42e0f10 /configure.ac
parent92b1bfcc8fd0f34e636a1e9955d5236334f78cd3 (diff)
Update pkgcheck depedencies to work with separate build roots.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 18e2cb6..d98dad6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,8 +45,16 @@ AC_ARG_WITH(xorg-module-dir,
[Default xorg module directory [[default=$libdir/xorg/modules]]]),
[moduledir="$withval"],
[moduledir="$libdir/xorg/modules"])
+
+# Checks for extensions
+XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
+XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
+XORG_DRIVER_CHECK_EXT(XV, videoproto)
+XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto)
+
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XORG, [xorg-server xproto])
+PKG_CHECK_MODULES(XORG, [xorg-server xproto fontsproto $REQUIRED_MODULES])
+AC_MSG_RESULT([yes])
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
# Checks for libraries.