r2337 - trunk/varnish-cache

phk at projects.linpro.no phk at projects.linpro.no
Tue Jan 8 15:35:09 CET 2008


Author: phk
Date: 2008-01-08 15:35:09 +0100 (Tue, 08 Jan 2008)
New Revision: 2337

Modified:
   trunk/varnish-cache/configure.ac
Log:
Don't even look for senfile, it doesn't work for what we need on
any of the platforms right now.



Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2008-01-08 14:16:38 UTC (rev 2336)
+++ trunk/varnish-cache/configure.ac	2008-01-08 14:35:09 UTC (rev 2337)
@@ -97,15 +97,18 @@
 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




More information about the varnish-commit mailing list