Nope.. It does not work (for me).. That's the reason I need to change to to
use SHMGET_ANON.. I was thinking that there'a already a option available to
do such things..

BTW, is it not strange that it picks up APR_USE_SHMEM_SHMGET, but not
APR_USE_SHMEM_SHMGET_ANON and rather decides to select
APR_USE_SHMEM_MMAP_ZERO.. 

-Madhu

-----Original Message-----
From: Aaron Bannert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 9:12 AM
To: [EMAIL PROTECTED]
Subject: Re: configure option to specify mmap/shm


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

Reply via email to