rbb 01/03/05 20:54:49
Modified: . CHANGES configure.in
Log:
Add a --with-sendfile option, so that people without a sendfile
implementation for APR can disable it from the configure command line.
Revision Changes Path
1.70 +4 -0 apr/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr/CHANGES,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -b -w -u -r1.69 -r1.70
--- CHANGES 2001/03/05 20:28:42 1.69
+++ CHANGES 2001/03/06 04:54:48 1.70
@@ -1,5 +1,9 @@
Changes with APR b1
+ *) Add a with-sendfile option, so that people on platforms without a
+ sendfile implementation for APR can easily disable it from the
+ configure line. [Ryan Bloom]
+
*) Change the check for netinet/tcp.h to work around an issue with
that header file on IRIX 6.5 which prevented it from being
detected. PR #6459 [Jeff Trawick]
1.256 +7 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.255
retrieving revision 1.256
diff -u -d -b -w -u -r1.255 -r1.256
--- configure.in 2001/03/05 20:28:42 1.255
+++ configure.in 2001/03/06 04:54:49 1.256
@@ -350,6 +350,13 @@
dnl threaded poll() and we don't want to use sendfile on early FreeBSD
dnl systems if we are also using threads.
+AC_ARG_WITH(sendfile, [ --with-sendfile Force sendfile to be on or off],
+ [ if test "$withval" = "yes"; then
+ sendfile="1"
+ else
+ sendfile="0"
+ fi ] )
+
orig_sendfile=$sendfile
case "$OS" in
*freebsd*)