summaryrefslogtreecommitdiffstats
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 9944270ec..52985137c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -558,6 +558,9 @@ UTIL_CHECK_SYSCALL([ioprio_get],
[sh*], [289],
[x86_64*], [252])
+dnl fallocate could be available as libc function or as syscall only
+UTIL_CHECK_SYSCALL([fallocate])
+AC_CHECK_FUNCS([fallocate])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <time.h>