From a27c3d61d107fe4af33181a63f8ea951367ff418 Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Mon, 14 Nov 2005 22:02:13 +0000 Subject: Fix pkgconfig deps for separate build roots. --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.3