httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: NO_SERIALIZED_ACCEPT?
Date Sun, 07 Jan 2001 18:03:35 GMT

Logically, this should complain loudly, and stop the compile.  Can
somebody test this?

Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.205
diff -u -d -b -w -u -r1.205 configure.in
--- configure.in        2001/01/05 22:33:08     1.205
+++ configure.in        2001/01/07 17:59:10
@@ -565,6 +565,17 @@
     fi
 fi

+if test "$threads" = "1"; then
+    case "$OS" in
+        *freebsd*)
+            if test `uname -r | sed -e 's/\(.\)\.\(.\)\..*/\1\2/'` -le
"41"; then
+                AC_MSG_ERROR([You have tried to Enable threads on a
platform that we does not support them well enough to run APR in threaded
mode.  To continue, you must remove this message from configure.in and
re-run buildconf.])
+            fi
+            ;;
+        *) ;;
+    esac
+fi
+
 if test "$pthreadh" = "1"; then
     APR_CHECK_PTHREAD_GETSPECIFIC_TWO_ARGS
     APR_CHECK_PTHREAD_ATTR_GETDETACHSTATE_ONE_ARG


Ryan

On Sun, 7 Jan 2001, Ben Laurie wrote:

> rbb@covalent.net wrote:
> > 
> > Take a look at hints.m4.  That's where we should have defined values like
> > this in 2.0.  I'm not sure that NO_SERIALIZED_ACCEPT is used anywhere, but
> > I haven't checked.
> 
> Actually, it seems that threading and FreeBSD 3.2 just don't get on too
> well. I'm going to give up and use prefork instead...
> 
> Didn't we know this already? Is there some way to make things complain
> if we try to do this?
> 
> Cheers,
> 
> Ben.
> 
> --
> http://www.apache-ssl.org/ben.html
> 
> "There is no limit to what a man can do or how far he can go if he
> doesn't mind who gets the credit." - Robert Woodruff
> 
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message