[master] 62ac930 Fix daemon.c inclusion when daemon() isn't present

Federico G. Schwindt fgsch at lodoss.net
Sun Jan 8 04:41:05 CET 2017


commit 62ac93056a9d279e29eab6f7be76920944370128
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sun Jan 8 03:32:27 2017 +0000

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

diff --git a/configure.ac b/configure.ac
index af57936..02a9f7f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
 



More information about the varnish-commit mailing list