Permalink
Browse files

Fix daemon.c inclusion when daemon() isn't present

  • Loading branch information...
1 parent 2881d76 commit 62ac93056a9d279e29eab6f7be76920944370128 @fgsch fgsch committed Jan 8, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.ac
View
@@ -299,7 +299,7 @@ case $target in
AC_CHECK_FUNCS([daemon])
;;
esac
-AM_CONDITIONAL(HAVE_DAEMON, [test "x$HAVE_DAEMON" != "xno"])
+AM_CONDITIONAL(HAVE_DAEMON, [test "x$ac_cv_func_daemon" != "xno"])
AC_SYS_LARGEFILE

0 comments on commit 62ac930

Please sign in to comment.