summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-11-01 15:08:52 +0000
committerKevin E Martin <kem@kem.org>2005-11-01 15:08:52 +0000
commit88d85d65fa2aeef87a03019dbe87bf4ff7b0c3ed (patch)
tree5f3d1b7b5acce1dbb5ab41aa3ab43700e68bf531
parent49db1e530eb8df10b2ac64b3cc9f7d368d09dc04 (diff)
Update pkgcheck depedencies to work with separate build roots.
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac10
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..e4d905b
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,4 @@
+2005-11-01 Kevin E. Martin <kem-at-freedesktop-dot-org>
+
+ * configure.ac:
+ Update pkgcheck dependencies to work with separate build roots.
diff --git a/configure.ac b/configure.ac
index 09ba384..024d597 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,8 +45,16 @@ AC_ARG_WITH(xorg-module-dir, [ --with-xorg-module-dir=DIR ],
[ moduledir="$libdir/xorg/modules" ])
AC_SUBST(moduledir)
+
+# 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)
PKG_CHECK_MODULES(XF86RUSH, xxf86rush, have_xf86rush=yes, have_xf86rush=no)