aboutsummaryrefslogtreecommitdiff
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 04d56bc..2cb8c17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,6 +163,9 @@ AC_CHECK_FUNCS([cpuset_setaffinity sched_setaffinity],
AC_DEFINE([HAVE_CPU_AFFINITY], [1],
[Have CPU affinity support.]))
+# Check for daemon(). Most systems have this but a few (IRIX) don't.
+AC_CHECK_FUNCS([daemon])
+
# Check for sendfile support. FreeBSD, Linux, and MacOS all support
# this system call, but they're all different in terms of what headers
# it needs and what arguments it expects.