Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 90871 invoked by uid 500); 7 Jan 2001 18:08:16 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 90859 invoked from network); 7 Jan 2001 18:08:14 -0000 From: Jim Jagielski Message-Id: <200101071808.NAA19490@devsys.jaguNET.com> Subject: Re: NO_SERIALIZED_ACCEPT? To: new-httpd@apache.org Date: Sun, 7 Jan 2001 13:08:07 -0500 (EST) Reply-To: jim@jaguNET.com In-Reply-To: from "rbb@covalent.net" at Jan 07, 2001 10:03:35 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N The below patch would, unfortunately, also hit FreeBSD 3.4 as well, which I think works OK... How about: case "$OS" in *freebsd*) case `uname -r` in 3.2*) blah blah Also easier to expand upon if need be later on I'm thinking. rbb@covalent.net wrote: > > > 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 > ------------------------------------------------------------------------------- > -- =========================================================================== Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "Casanova will have many weapons; To beat him you will have to have more than forks and flatulence."