summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-08-05 16:38:42 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-08-05 16:38:42 +0100
commitf36b7a4aac86f5874c32d8f516ac1f00a6c8d8b3 (patch)
tree47b90dd703c47ec62f1747c7bb0eb45492aa9c11 /configure.ac
parentc5e654cf2afcafbe3732548359771747dac1ce26 (diff)
intel: Use NOACCEL to avoid a symbol clash on old Xorg
Old Xorg xf86str.h defines NONE preventing us from using it within an enum. Use NOACCEL instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 94959f7d..503202c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -699,7 +699,7 @@ fi
if test "x$have_accel" = "xnone"; then
if test "x$KMS" = "xyes"; then
if test "x$SNA" != "xno" -o "x$UXA" != "xno"; then
- AC_DEFINE(DEFAULT_ACCEL_METHOD, NONE, [Default acceleration method])
+ AC_DEFINE(DEFAULT_ACCEL_METHOD, NOACCEL, [Default acceleration method])
else
AC_MSG_ERROR([Invalid default acceleration option])
fi