configure: Add AC_SYS_LARGEFILE for mmap64 support on 64-bit
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 14 Mar 2012 10:59:51 +0000 (10:59 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 14 Mar 2012 10:59:51 +0000 (10:59 +0000)
commitd364c280892af29956ad7032b0d242b7d24d7846
tree49f11795a5cfa354fae1b29a1a4055d34bd6e0e4
parentbe7ca950d7d4d18744a76abab091eb032835fb82
configure: Add AC_SYS_LARGEFILE for mmap64 support on 64-bit

Without enabling largefile support the prototype for mmap64() is broken
on Linux/x86_64 with the result being a 32-bit integer sign-extended
to fill a 64-bit pointer. Hilarity ensues.
configure.ac
tests/gem_fence_thrash.c