summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-11-14 22:02:13 +0000
committerKevin E Martin <kem@kem.org>2005-11-14 22:02:13 +0000
commita27c3d61d107fe4af33181a63f8ea951367ff418 (patch)
treeb0592d9b4f164aca9f7e73b4138f44cddc59df23 /configure.ac
parent1d690983d20e3d874b7f0e7f430e3d0cf2710c53 (diff)
Fix pkgconfig deps for separate build roots.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b52c133..a77d930 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,13 +44,17 @@ AC_PROG_CC
AC_PROG_LIBTOOL
# Check for X
-PKG_CHECK_MODULES(X, x11 xext xrender randrproto)
+PKG_CHECK_MODULES(X, x11)
+AC_SUBST(X_CFLAGS)
+AC_SUBST(X_LIBS)
# Check randr configuration, strip extra digits from package version to
# find the required protocol version
RANDR_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`]
PKG_CHECK_MODULES(RANDR, randrproto >= $RANDR_VERSION xext xrender renderproto)
+AC_SUBST(RANDR_CFLAGS)
+AC_SUBST(RANDR_LIBS)
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION