[vlc-commits] configure: remove redundant daemon() test
Rémi Denis-Courmont
git at videolan.org
Wed Apr 1 20:44:52 CEST 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 30 16:33:38 2020 +0300| [f8b9511042536d9bfcb649128b49d89f55feb3fe] | committer: Rémi Denis-Courmont
configure: remove redundant daemon() test
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f8b9511042536d9bfcb649128b49d89f55feb3fe
---
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,,
More information about the vlc-commits
mailing list