From 0ac4a936a400e4b983735dd23339f9e4599b712d Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Tue, 1 Nov 2005 15:08:51 +0000 Subject: Update pkgcheck depedencies to work with separate build roots. --- ChangeLog | 4 ++++ configure.ac | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 ChangeLog 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 + + * configure.ac: + Update pkgcheck dependencies to work with separate build roots. diff --git a/configure.ac b/configure.ac index 414d8bb..6e5dd95 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' -- cgit v1.2.3