[master] 304ebd244 build: Make things up better about daemons
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Oct 4 10:31:10 UTC 2023
commit 304ebd2449e02f7a29a8a2069149dbf712e32e60
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Wed Oct 4 10:13:36 2023 +0200
build: Make things up better about daemons
Otherwise we end up with a broken output outside of MacOS:
checking whether daemon() works... checking for daemon... yes
Now it's one or the other:
checking whether daemon() works... no
checking for daemon... yes
If we want to lie, we should at least be good at it.
diff --git a/configure.ac b/configure.ac
index bc38381a5..7faad20f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -372,11 +372,11 @@ fi
AM_CONDITIONAL([WITH_UNWIND], [test "$have_unwind" = yes])
-# white lie - we don't actually test it
-AC_MSG_CHECKING([whether daemon() works])
case $target in
*-*-darwin*)
+ # white lie - we don't actually test it
# present but not functional
+ AC_MSG_CHECKING([whether daemon() works])
AC_MSG_RESULT([no])
ac_cv_func_daemon=no
;;
More information about the varnish-commit
mailing list