summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-11-02 21:26:25 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-11-02 21:26:25 +0000
commit4b94598907fd570b8f12daf4c95128abf2f14e2a (patch)
treea48e66fe527777cd2d1f5e979dab912a91a41dd3
parenta70e76a7d5093abaa8977319ec5683345f78eecc (diff)
downloadlibapr-4b94598907fd570b8f12daf4c95128abf2f14e2a.tar.gz
Darwin 9, APR 1.2 specific hack to cripple sendfile until we uncloak
the truth behind it's funky API or until they fix it. Besides which we have no implemenation in the first place on 1.2 branch. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x@591473 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ada0fa28e..5ec77f512 100644
--- a/configure.in
+++ b/configure.in
@@ -929,6 +929,10 @@ AC_ARG_WITH(sendfile, [ --with-sendfile Override decision to use sendfi
sendfile="0"
fi
;;
+ *darwin*)
+ # darwin semantics in 9.0.0 appear to be fubar
+ sendfile="0"
+ ;;
esac
if test "$orig_sendfile" != "$sendfile"; then
echo "sendfile support disabled to avoid system problem"