diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index dcf62ab9..ffc022a5 100644 --- a/configure.ac +++ b/configure.ac @@ -569,8 +569,15 @@ case "$host_os" in ;; *darwin*) AC_MSG_RESULT(darwin) - AC_DEFINE(BROKEN_CMSG_FIRSTHDR) PLATFORM=darwin + # + # OS X CMSG_FIRSTHDR is broken, so redefine it with a working + # one. daemon works but has some stupid side effects, so use + # our internal version which has a workaround. + # + AC_DEFINE(BROKEN_CMSG_FIRSTHDR) + AC_LIBOBJ(daemon) + AC_LIBOBJ(daemon-darwin) ;; *dragonfly*) AC_MSG_RESULT(dragonfly) |