summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-08-08 11:54:18 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-08 11:54:18 -0700
commitb1aef6f63c151dcb202fce869e4b80598b4b2052 (patch)
tree95bc73bc1aa7a9a8ffe39ab8dc2215e26b5b799e /configure.ac
parentf9504eff31eb3c9c6c6b33dced9875866ff8307e (diff)
Initial port of kernel modesetting from old intel-kernelmode branch
Thanks airlied!
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 b24a1541..61202271 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,6 +101,10 @@ if test x$DRI = xauto; then
[have_dristruct_h="yes"], [have_dristruct_h="no"])
AC_CHECK_FILE([${sdkdir}/damage.h],
[have_damage_h="yes"], [have_damage_h="no"])
+ AC_CHECK_HEADER(xf86drmMode.h,[DRM_MODE=yes],[DRM_MODE=no],[#include "stdint.h"])
+ if test "x$DRM_MODE" = xyes; then
+ AC_DEFINE(XF86DRM_MODE,1,[DRM kernel modesetting])
+ fi
if test "$have_dri_h" = yes -a \
"$have_sarea_h" = yes -a \