httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: configure option to specify mmap/shm
Date Thu, 07 Feb 2002 17:12:08 GMT
On Thu, Feb 07, 2002 at 09:06:40AM -0800, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote:
> Hi,
> Question :
> 	What option(s) should I pass to the configure to enable/disable the
> various SHM options (MMAP, SHMGET)..(sorry if it's a dumb question)
> 
> Problem :
> On a HPUX 11i system (worker MPM, 2.0.31), I'm seeing the following in
> srclib/apr/include/apr.h :
> #define APR_USE_SHMEM_MMAP_TMP     0
> #define APR_USE_SHMEM_MMAP_SHM     0
> #define APR_USE_SHMEM_MMAP_ZERO    1
> #define APR_USE_SHMEM_SHMGET_ANON  0
> #define APR_USE_SHMEM_SHMGET       1
> #define APR_USE_SHMEM_MMAP_ANON    0
> #define APR_USE_SHMEM_BEOS         0
> 
> I want to build using APR_USE_SHMEM_SHMGET_ANON rather than
> APR_USE_SHMEM_MMAP_ZERO.. I'm currently doing the ugly method of manually
> editing it after the configure is run.

Does MMAP_ZERO not work on your platform? If so we should probably improve
our autoconf test instead of provide override options.

-aaron

Mime
View raw message