summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-05-15 10:24:24 +0900
committerMichel Dänzer <michel@daenzer.net>2015-05-15 10:24:24 +0900
commit37b389ee9e13f065fb080d1269f9a6aed616c210 (patch)
treea8e6e3e7013a36d069f6eda2a7de761e10839ba6 /configure.ac
parent22917044e419023d487f816e0d4f094695b55fa6 (diff)
glamor: Deal with glamor_glyphs_init being removed from xserver
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 946c70e..c2411d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,6 +127,12 @@ if test "x$GLAMOR" != "xno"; then
[GLAMOR_XSERVER="yes"], [GLAMOR_XSERVER="no"],
[#include "xorg-server.h"
#include "glamor.h"])
+
+ AC_CHECK_DECL(glamor_glyphs_init,
+ [AC_DEFINE(HAVE_GLAMOR_GLYPHS_INIT, 1,
+ [Have glamor_glyphs_init API])], [],
+ [#include "xorg-server.h"
+ #include "glamor.h"])
fi
if test "x$GLAMOR_XSERVER" != xyes; then