summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-03-10 16:52:54 +0900
committerMichel Dänzer <michel@daenzer.net>2015-03-17 11:00:27 +0900
commit3c65fb849e1ba9fb6454bcaa55b696548902f3fc (patch)
tree6b32c390f9b18aa527c2da2a005f2b0239bfc534 /configure.ac
parent8fc9a241ab59ffbcdc178d6415332c88a54e85fe (diff)
Add support for the Present extension v2
v2: Fix up for struct radeon_drm_queue -> radeon_drm_queue_entry. Swapped order of patches 11 & 12 because the Present extension uses SYNC fences. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c2e5a206..71d8ff09 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,6 +137,12 @@ AC_CHECK_HEADERS([misyncshm.h], [], [],
#include "screenint.h"
#include "xorg-server.h"])
+AC_CHECK_HEADERS([present.h], [], [],
+ [#include <X11/Xmd.h>
+ #include <X11/Xproto.h>
+ #include <X11/X.h>
+ #include "xorg-server.h"])
+
CPPFLAGS="$SAVE_CPPFLAGS"
PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0])