]> err.no Git - varnish/commitdiff
Don't even look for senfile, it doesn't work for what we need on
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Jan 2008 14:35:09 +0000 (14:35 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Jan 2008 14:35:09 +0000 (14:35 +0000)
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

index e0b3c7f95191a6d9496d53f7466d83991f570280..3b503bc631c6102f88c2dd33155020b5c1a7a301 100644 (file)
@@ -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