summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-11-01 15:08:48 +0000
committerKevin E Martin <kem@kem.org>2005-11-01 15:08:48 +0000
commit37f29b066c955b9ef85b95f39ed4ca9c4c799da9 (patch)
tree197d0312a366338dc784f900d0ceb4f13cfddc6f /configure.ac
parent0d5c65828cbda96688234ca98de51748cc6a7a9c (diff)
Update pkgcheck depedencies to work with separate build roots.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9f06b1a..e3b59d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,8 +69,13 @@ AC_ARG_WITH(xorg-module-dir,
inputdir=${moduledir}/input
AC_SUBST(inputdir)
+# Checks for extensions
+XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
+XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)
+
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XORG, xorg-server xproto)
+PKG_CHECK_MODULES(XORG, xorg-server xproto $REQUIRED_MODULES)
+AC_MSG_RESULT([yes])
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'