summaryrefslogtreecommitdiff
path: root/build/configure.ac.system
diff options
context:
space:
mode:
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"