From db8c5c89707c71a2498495bd18b2058b74f9ea45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 21 Aug 2013 15:44:57 -0700 Subject: [PATCH] configure.ac: Add AC_SYS_LARGEFILE for mmap()ing dumb GEM buffers We're mmap()ing buffers with 64 bit offsets coming from the DRM_IOCTL_MODE_MAP_DUMB ioctl and need to make sure mmap accepts those. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index e305ab05c..156237fa3 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,7 @@ AC_SUBST([WESTON_VERSION], [weston_version]) AC_CONFIG_HEADERS([config.h]) AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AM_INIT_AUTOMAKE([1.11 parallel-tests foreign no-dist-gzip dist-xz color-tests])