summaryrefslogtreecommitdiff
path: root/build/configure.ac.system
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-11 22:36:01 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-11 22:38:09 +0100
commit3aaea453b0f0880d6c8825be21e67821732d1635 (patch)
treea9cf2a537cdb87b186c6e436dc50f14e2102783a /build/configure.ac.system
parent6167f27adfd530bdf091a0e7a3e0141d5db66f00 (diff)
[script] Store fonts inside mmaped files.
As an aide to tiny swapless systems write the rarely used bytes that define type42 fonts into a deleted file and mmap them back into our address space.
Diffstat (limited to 'build/configure.ac.system')
-rw-r--r--build/configure.ac.system3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/configure.ac.system b/build/configure.ac.system
index 341f5e9f..1a01a429 100644
--- a/build/configure.ac.system
+++ b/build/configure.ac.system
@@ -62,6 +62,9 @@ AC_CHECK_HEADERS([fcntl.h unistd.h signal.h sys/stat.h sys/socket.h sys/poll.h s
dnl check for CPU affinity support
AC_CHECK_HEADERS([sched.h], [AC_CHECK_FUNCS([sched_getaffinity])])
+dnl check for mmap support
+AC_CHECK_HEADERS([sys/mman.h], [AC_CHECK_FUNCS([mmap])])
+
dnl check for clock_gettime() support
save_LIBS="$LIBS"
LIBS="$LIBS $RT_LIBS"