diff options
author | Joe Orton <jorton@apache.org> | 2005-02-04 11:09:25 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2005-02-04 11:09:25 +0000 |
commit | ff38fc7aff81498688404ee4f8297accf65b987c (patch) | |
tree | 2bf1f513127eba46a392d868bbef1b1c9a03bcc5 | |
parent | 55f6a657cf2e291e6403ec6ebb5a0659f06fd8e5 (diff) | |
download | apr-ff38fc7aff81498688404ee4f8297accf65b987c.tar.gz |
* configure.in: Disable sendfile support for S/390 only in kernel
versions < 2.4.0.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151340 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 72ced022e..f5535269d 100644 --- a/configure.in +++ b/configure.in @@ -910,7 +910,10 @@ AC_ARG_WITH(sendfile, [ --with-sendfile Override decision to use sendfi sendfile="0" ;; s390-*-linux-gnu) - sendfile="0" + # disable sendfile support for 2.2 on S/390 + if test $os_version -lt 240; then + sendfile="0" + fi ;; *aix*) # compiler-independent check for 64-bit build |