summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-06-29 21:04:53 -0700
committerKeith Packard <keithp@keithp.com>2015-06-29 21:04:53 -0700
commit8a8d51358cea782147bb9b5b2e0902b1e47fcf4a (patch)
tree7f66ade8a86fd33dd4ad5bd35a93b497a920ff49 /configure.ac
parentb22534d8e653575196180970292eaade33c090a8 (diff)
parent13c7d53df8dac45ea2a685826cd45a39bcb51657 (diff)
Merge remote-tracking branch 'airlied/for-keithp'
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f187a1357..328563e6f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2105,6 +2105,10 @@ if test "x$GLAMOR" = xyes; then
if test "x$GBM" = xyes; then
AC_DEFINE(GLAMOR_HAS_GBM, 1,
[Build glamor with GBM-based EGL support])
+ AC_CHECK_DECL(GBM_BO_USE_LINEAR,
+ [AC_DEFINE(GLAMOR_HAS_GBM_LINEAR, 1, [Have GBM_BO_USE_LINEAR])], [],
+ [#include <stdlib.h>
+ #include <gbm.h>])
fi
fi