about summary refs log tree commit homepage
path: root/configure.ac
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-02-17 16:49:57 -0500
committerEric Wong <e@80x24.org>2014-02-17 16:49:57 -0500
commit3d96736835c69b3de698bd3cc9ed12bab1da8d73 (patch)
treed39e47ac3b253c8bf7ef2460c50afaec016b63f3 /configure.ac
parent6eaf13539681dd1d6725021112dc43b69ae2be4d (diff)
downloadcmogstored-3d96736835c69b3de698bd3cc9ed12bab1da8d73.tar.gz
Non-Linux OSes may eventually gain a Linux-compatible sendfile.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1911f4d..4e66f84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,6 +40,8 @@ AC_CHECK_FUNCS([epoll_ctl], [HAVE_EPOLL=1], [HAVE_EPOLL=0])
 AC_SUBST(HAVE_EPOLL)
 AM_CONDITIONAL(HAVE_EPOLL, test "x$HAVE_EPOLL" = "x1")
 
+AC_CHECK_HEADERS([sys/sendfile.h])
+
 dnl libkqueue should work in the future
 AC_CHECK_FUNCS([kqueue])