"Emanuel Dejanu" <[EMAIL PROTECTED]> writes:

> I want to compile the Apache 2 with HARD_THREAD_LIMIT set to 1024
> using a command line directive. Now I modify the file
> "httpd-2_0_16/server/mpm/perchild/mpm_default.h".
> It is possible to set it without modify the file?

yes, it would seem possible because of the way HARD_THREAD_LIMIT is
defined:

#ifndef HARD_THREAD_LIMIT
#define HARD_THREAD_LIMIT 64 
#endif

I would think that you could set CFLAGS around configure like this and
have the right thing happen:

CFLAGS="-DHARD_THREAD_LIMIT=1024" ./configure ...

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to