diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2009-07-17 08:22:02 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2009-07-17 08:22:02 +1000 |
commit | b1b233099853b56cfdcff9c4c31d3550b76b949e (patch) | |
tree | a5b5d45ab9d77effa554ec7d3e9a3b813ffa5a4d /configure.ac | |
parent | c089a71a94e7887c405af7141e188302a5e2d393 (diff) |
Fix build with xextproto 7.1
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0e9b319..4e1d60a 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,10 @@ AC_SUBST(LIBDRM_NOUVEAU_CFLAGS) AC_SUBST(LIBDRM_NOUVEAU_LIBS) PKG_CHECK_MODULES(XORG, [xorg-server >= 1.4.99.901] xproto fontsproto libdrm xf86driproto $REQUIRED_MODULES) +PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1], + HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available]), + HAVE_XEXTPROTO_71="no") +AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ]) sdkdir=$(pkg-config --variable=sdkdir xorg-server) # Checks for libraries. |