vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Mon Feb 12 
19:00:11 2018 +0200| [9a972698d79cc3bab97d5fa1f59bf8d007c1283d] | committer: 
Rémi Denis-Courmont

configure: pipe2 and accept4 are NOT Linux-specific

While both system calls originate on Linux, they are part of POSIX.next
and implemented by FreeBSD 10.0 and other OSes.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a972698d79cc3bab97d5fa1f59bf8d007c1283d
---

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 879e6aa3f7..ae1a56e2eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -590,7 +590,7 @@ dnl Check for system libs needed
 need_libc=false
 
 dnl Check for usual libc functions
-AC_CHECK_FUNCS([daemon fcntl flock fstatvfs fork getenv getpwuid_r isatty 
lstat memalign mkostemp mmap open_memstream openat pread posix_fadvise 
posix_madvise posix_memalign setlocale stricmp strnicmp strptime tdestroy 
uselocale])
+AC_CHECK_FUNCS([accept4 daemon fcntl flock fstatvfs fork getenv getpwuid_r 
isatty lstat memalign mkostemp mmap open_memstream openat pipe2 pread 
posix_fadvise posix_madvise posix_memalign setlocale stricmp strnicmp strptime 
tdestroy uselocale])
 AC_REPLACE_FUNCS([aligned_alloc atof atoll dirfd fdopendir ffsll flockfile 
fsync getdelim getpid lldiv memrchr nrand48 poll recvmsg rewind sendmsg setenv 
strcasecmp strcasestr strdup strlcpy strndup strnlen strnstr strsep strtof 
strtok_r strtoll swab tfind timegm timespec_get strverscmp pathconf])
 AC_REPLACE_FUNCS([gettimeofday])
 AC_CHECK_FUNC(fdatasync,,
@@ -622,7 +622,7 @@ AC_FUNC_STRCOLL
 dnl Check for non-standard system calls
 case "$SYS" in
   "linux")
-    AC_CHECK_FUNCS([accept4 pipe2 eventfd vmsplice sched_getaffinity recvmmsg 
memfd_create])
+    AC_CHECK_FUNCS([eventfd vmsplice sched_getaffinity recvmmsg memfd_create])
     ;;
   "mingw32")
     AC_CHECK_FUNCS([_lock_file])

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to