Commit f6baf564 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

configure: check Linux syscalls only on Linux

They could work differently on other systems. Better safe than sorry.
parent c1de0944
...@@ -531,7 +531,11 @@ AC_PREPROC_IFELSE([AC_LANG_SOURCE([ ...@@ -531,7 +531,11 @@ AC_PREPROC_IFELSE([AC_LANG_SOURCE([
AC_FUNC_STRCOLL AC_FUNC_STRCOLL
dnl Check for non-standard system calls dnl Check for non-standard system calls
AC_CHECK_FUNCS([accept4 pipe2 eventfd vmsplice sched_getaffinity]) case "$SYS" in
"linux")
AC_CHECK_FUNCS([accept4 pipe2 eventfd vmsplice sched_getaffinity])
;;
esac
AH_BOTTOM([#include <vlc_fixups.h>]) AH_BOTTOM([#include <vlc_fixups.h>])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment