summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8999826a..aa4fc20d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -554,6 +554,9 @@ UTIL_CHECK_SYSCALL([ioprio_get],
[sh*], [289],
[x86_64*], [252])
+dnl Old versions of glib don't provide fallocate(2)
+UTIL_CHECK_SYSCALL([fallocate])
+AC_CHECK_FUNC([fallocate])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <time.h>