[vlc-devel] [PATCH 2/2] configure: remove redundant daemon() test

RĂ©mi Denis-Courmont remi at remlab.net
Mon Mar 30 15:37:35 CEST 2020


---
 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index e6e4fc4d56..9aba863449 100644
--- a/configure.ac
+++ b/configure.ac
@@ -217,7 +217,6 @@ case "${host_os}" in
              [HAVE_TVOS="1"
              HAVE_IOS="0"
              HAVE_OSX="0"
-             ac_cv_func_daemon=no
              ac_cv_func_fork=no
              ],)
 
@@ -670,7 +669,7 @@ dnl Check for system libs needed
 need_libc=false
 
 dnl Check for usual libc functions
-AC_CHECK_FUNCS([accept4 daemon fcntl flock fstatat fstatvfs fork getmntent_r getenv getpwuid_r isatty memalign mkostemp mmap open_memstream newlocale pipe2 pread posix_fadvise posix_madvise setlocale stricmp strnicmp strptime uselocale])
+AC_CHECK_FUNCS([accept4 fcntl flock fstatat fstatvfs fork getmntent_r getenv getpwuid_r isatty memalign mkostemp mmap open_memstream newlocale pipe2 pread posix_fadvise posix_madvise setlocale stricmp strnicmp strptime uselocale])
 AC_REPLACE_FUNCS([aligned_alloc atof atoll dirfd fdopendir flockfile fsync getdelim getpid lfind lldiv memrchr nrand48 poll posix_memalign recvmsg rewind sendmsg setenv strcasecmp strcasestr strdup strlcpy strndup strnlen strnstr strsep strtof strtok_r strtoll swab tdestroy tfind timegm timespec_get strverscmp pathconf])
 AC_REPLACE_FUNCS([gettimeofday])
 AC_CHECK_FUNC(fdatasync,,
-- 
2.26.0



More information about the vlc-devel mailing list