From: phk Date: Tue, 8 Jan 2008 14:35:09 +0000 (+0000) Subject: Don't even look for senfile, it doesn't work for what we need on X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d64f8ebd04934de766e71d4828cdd89883bb696d;p=varnish Don't even look for senfile, it doesn't work for what we need on any of the platforms right now. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2337 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/configure.ac b/varnish-cache/configure.ac index e0b3c7f9..3b503bc6 100644 --- a/varnish-cache/configure.ac +++ b/varnish-cache/configure.ac @@ -97,15 +97,18 @@ AC_CHECK_FUNCS([socket]) AC_CHECK_FUNCS([strptime]) AC_CHECK_FUNCS([fmtcheck]) -# 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 +# Don't look for sendfile at all, none of them work +# anyway. (don't tell when done with passed mem-range) +# +## 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