From d64f8ebd04934de766e71d4828cdd89883bb696d Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 8 Jan 2008 14:35:09 +0000 Subject: [PATCH] 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 --- varnish-cache/configure.ac | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) 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 -- 2.39.5