aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-12 21:03:02 -0400
committerMax Kellermann <max@duempel.org>2009-08-13 17:25:30 +0200
commit499ed62dd790949c571517b54ef0e96fad26b16b (patch)
tree540ee08426ccabf4bb12b8058dc4491f9bbf7a55 /configure.ac
parentc3e02bec3b69c386de72a2c66a63ecfaafa0db9e (diff)
downloadmpd-499ed62dd790949c571517b54ef0e96fad26b16b.tar.gz
mpd-499ed62dd790949c571517b54ef0e96fad26b16b.tar.xz
mpd-499ed62dd790949c571517b54ef0e96fad26b16b.zip
use daemon() when the C library provides it
For systems that cannot support fork() (like no-mmu Linux), use daemon() if it is available for the daemonizing code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e828f4201..600b51df0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,7 +100,7 @@ dnl
dnl libc features
dnl
-AC_CHECK_FUNCS(syslog)
+AC_CHECK_FUNCS(daemon fork syslog)
if test $ac_cv_func_syslog = no; then
# syslog is not in the default libraries. See if it's in some other.
for lib in bsd socket inet; do