Skip to content

Commit

Permalink
configure.ac: Only check for splice(2) on Linux.
Browse files Browse the repository at this point in the history
To avoid confusion with a function of the same name on AIX 5.1.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
  • Loading branch information
buytenh committed Jul 30, 2012
1 parent f33aef4 commit e9e2778
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion configure.ac
Expand Up @@ -109,9 +109,17 @@ AC_CHECK_FUNCS([kqueue])
AC_CHECK_FUNCS([poll])
AC_CHECK_FUNCS([port_create])
AC_CHECK_FUNCS([pthread_spin_lock])
AC_CHECK_FUNCS([splice])
AC_CHECK_FUNCS([wait4])

# Check for splice(2) on Linux.
case $host_os in
linux*)
AC_CHECK_FUNCS([splice])
;;
*)
;;
esac

# Check for available clock_gettime() clock sources.
if test $ac_cv_func_clock_gettime = yes
then
Expand Down

0 comments on commit e9e2778

Please sign in to comment.