Commit 604f7ce4 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Merged revisions 2322 via svnmerge from

svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache

........
  r2322 | des | 2007-12-20 14:35:33 +0100 (Thu, 20 Dec 2007) | 2 lines
  
  Only look for sendfile() on platforms where we know how to use it.
........


git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@2323 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent dceaf847
......@@ -92,7 +92,16 @@ AC_CHECK_FUNCS([strerror])
AC_FUNC_STRERROR_R
AC_CHECK_FUNCS([socket])
AC_CHECK_FUNCS([strptime])
AC_CHECK_FUNCS([sendfile])
# This one is tricky, there are multiple versions
case $host in
*-*-freebsd*|*-*-linux*)
AC_CHECK_FUNCS([sendfile])
;;
*)
AC_MSG_WARN([won't look for sendfile() on $host])
;;
esac
# These functions are provided by libcompat on platforms where they
# are not available
......
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