Commit ba2189f9 authored by dgaudet's avatar dgaudet
Browse files

Clean up Linux configuration by detecting 2.x linux and enabling HAVE_SHMGET,

and HAVE_SYS_RESOURCE_H.  Don't touch Linux 1.x systems for fear of various
compatibility problems.  Ditch that silly hack LINUX_TWEAK that I wish
I hadn't introduced.

Reviewed by:	Paul S., Roy


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78037 13f79535-47bb-0310-9956-ffa450edef68
parent 7bfdb649
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -1133,18 +1133,19 @@ about log file placement and

Apache 1.2 and above:<p>

Linux 2.x users should consider defining <code>Rules LINUX_TWEAK=yes</code>
in the <code>Configuration</code> file which will cause the server to
use shared memory instead of a scoreboard file.  This is known to cause
compilation problems with some distributions and kernels, so we have not
enabled it by default.  (Patches to conditionally determine the ability
to set this option are quite welcome.)<p>
Linux 1.x users might be able to add <code>-DHAVE_SHMGET</code> to
the <code>EXTRA_CFLAGS</code> in your <code>Configuration</code>.  This
might work with some 1.x installations, but won't work with all of
them.<p>

SVR4 users should consider adding <code>-DHAVE_SHMGET</code> to the
<code>EXTRA_CFLAGS</code> in your <code>Configuration</code>.  This
is believed to work, but we were unable to test it in time for 1.2
release.<p>

<strong>See Also</strong>:
<a href="../stopping.html">Stopping and Restarting Apache</a></p>

<p><hr>

<A name="sendbuffersize"><h2>SendBufferSize directive</h2></A>