Update pkgcheck depedencies to work with separate build roots.

This commit is contained in:
Kevin E Martin
2005-11-01 15:08:49 +00:00
parent f8c131fff1
commit e7fa7d71e5
2 changed files with 10 additions and 1 deletions

4
ChangeLog Normal file
View File

@@ -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.

View File

@@ -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'