summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-11-01 15:08:49 +0000
committerKevin E Martin <kem@kem.org>2005-11-01 15:08:49 +0000
commitb471db40377061af89f87634e31ced3d5ba8c98e (patch)
treed5f2a14ee8077d90a63598c185b187f57a613cf1
parentd371e549a4989280187a7394c64abe20c403b0db (diff)
Update pkgcheck depedencies to work with separate build roots.
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac7
2 files changed, 10 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 a276480..95aa90b 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'