You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2003/02/01 13:21:16 UTC
cvs commit: apr CHANGES configure.in
trawick 2003/02/01 04:21:15
Modified: . CHANGES configure.in
Log:
Disable apr_socket_sendfile() on 64-bit AIX to avoid an apparent
system problem.
PR: 11408
Revision Changes Path
1.371 +3 -0 apr/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr/CHANGES,v
retrieving revision 1.370
retrieving revision 1.371
diff -u -r1.370 -r1.371
--- CHANGES 30 Jan 2003 16:56:10 -0000 1.370
+++ CHANGES 1 Feb 2003 12:21:15 -0000 1.371
@@ -1,5 +1,8 @@
Changes with APR 0.9.2
+ *) Disable apr_socket_sendfile() on 64-bit AIX to avoid an apparent
+ system problem. PR 11408. [Jeff Trawick]
+
*) Add --includedir flag to apr-config. [Justin Erenkrantz]
*) Only include sys/syslimits.h if we don't have limits.h
1.510 +8 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.509
retrieving revision 1.510
diff -u -r1.509 -r1.510
--- configure.in 6 Jan 2003 19:04:08 -0000 1.509
+++ configure.in 1 Feb 2003 12:21:15 -0000 1.510
@@ -849,6 +849,14 @@
s390-*-linux-gnu)
sendfile="0"
;;
+ *aix*)
+ # compiler-independent check for 64-bit build
+ AC_CHECK_SIZEOF(void*, 4)
+ if test "x$ac_cv_sizeof_voidp" = "x8"; then
+ # sendfile not working for 64-bit build
+ sendfile="0"
+ fi
+ ;;
esac
if test "$orig_sendfile" != "$sendfile"; then
echo "sendfile support disabled to avoid system problem"