diff options
author | Eric Anholt <eric@anholt.net> | 2008-12-29 09:51:45 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-12-29 09:51:45 -0800 |
commit | 8464fc285d7b22fd45b7af616fd52aa15e16638a (patch) | |
tree | 00ae3dc19858c6ca412e58cbb6114434492fc2f2 /configure.ac | |
parent | c1dde7ac06ce6470c74198b2560ee67d28fb0aea (diff) |
Rely on libdrm 2.4.3 and stop checking for xf86drmMode.h.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 7dbcd47f..ca13eab1 100644 --- a/configure.ac +++ b/configure.ac @@ -113,11 +113,9 @@ if test x$DRI != xno; then AC_CHECK_FILE([${sdkdir}/damage.h], [have_damage_h="yes"], [have_damage_h="no"]) if test x$KMS != xno; then - AC_CHECK_HEADER(xf86drmMode.h, - [DRM_MODE=yes],[DRM_MODE=no] - [#include "stdint.h"]) dnl exaGetPixmapDriverPrivate required for DRM_MODE. - PKG_CHECK_MODULES(DRM_MODE, [xorg-server >= 1.5], [], [DRM_MODE=no]) + PKG_CHECK_MODULES(DRM_MODE, [xorg-server >= 1.5], + [DRM_MODE=yes], [DRM_MODE=no]) if test "x$DRM_MODE" = xyes; then AC_DEFINE(XF86DRM_MODE,1,[DRM kernel modesetting]) fi @@ -224,7 +222,7 @@ if test "x$GCC" = "xyes"; then -Wnested-externs -fno-strict-aliasing" fi -PKG_CHECK_MODULES(DRM, [libdrm >= 2.4.2]) +PKG_CHECK_MODULES(DRM, [libdrm >= 2.4.3]) AM_CONDITIONAL(DRI, test x$DRI = xyes) if test "$DRI" = yes; then PKG_CHECK_MODULES(DRI, [xf86driproto glproto]) |