summaryrefslogtreecommitdiff
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
parent25a63bfefda420f85b3cba89bdae4b35ef80c84f (diff)
Update pkgcheck depedencies to work with separate build roots.
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac8
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 00000000..e4d905ba
--- /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 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.