summaryrefslogtreecommitdiff
path: root/infrastructure/m4
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-12-26 23:16:36 +0000
committerChris Wilson <chris+github@qwirx.com>2014-12-26 23:16:36 +0000
commit1ee26f177e879ab36dada9f81fc41a95dad0ebbf (patch)
tree70dbe254ea03046f12ffa1b1115a9a76aa6f885f /infrastructure/m4
parentf56c9ccf0a31c046b8c53abfabd5df06b97c22ce (diff)
We must check for ftruncate if we intend to use its feature macro.
Diffstat (limited to 'infrastructure/m4')
-rw-r--r--infrastructure/m4/boxbackup_tests.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/infrastructure/m4/boxbackup_tests.m4 b/infrastructure/m4/boxbackup_tests.m4
index 44117d8f..50ccd80d 100644
--- a/infrastructure/m4/boxbackup_tests.m4
+++ b/infrastructure/m4/boxbackup_tests.m4
@@ -280,8 +280,8 @@ AC_FUNC_CLOSEDIR_VOID
AC_FUNC_ERROR_AT_LINE
AC_TYPE_SIGNAL
AC_FUNC_STAT
-AC_CHECK_FUNCS([getpeereid getpeername getpid gettimeofday lchown setproctitle])
-AC_CHECK_FUNCS([utimensat])
+AC_CHECK_FUNCS([ftruncate getpeereid getpeername getpid gettimeofday lchown])
+AC_CHECK_FUNCS([setproctitle utimensat])
AC_SEARCH_LIBS([setproctitle], ["bsd"])
# NetBSD implements kqueue too differently for us to get it fixed by 0.10