diff options
| author | rpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68> | 2023-02-10 18:21:00 +0000 |
|---|---|---|
| committer | rpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68> | 2023-02-10 18:21:00 +0000 |
| commit | 7c64283f9548ec787e991d522074de1c89a42f55 (patch) | |
| tree | edf5ecee4f1688ded7557d1f222a2f5269d8489b /configure.in | |
| parent | 50b89662a208326baf9809648007bcc7a00c86f2 (diff) | |
| download | libapr-7c64283f9548ec787e991d522074de1c89a42f55.tar.gz | |
* Since r1901037 Posix shared mem is prefered over SysV shared mem.
Add an option to revert this choice on systems that provide both.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1907566 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in index b27299256..2cdf5e33f 100644 --- a/configure.in +++ b/configure.in @@ -1354,6 +1354,13 @@ if test "$havemmapshm" = "1"; then APR_DECISION_OVERRIDE(USE_SHMEM_MMAP_SHM) fi ]) +AC_ARG_ENABLE(sysv-shm, +[ --enable-sysv-shm Use SysV shared memory (shmget) if available], +[ +if test "$haveshmget" = "1"; then + APR_DECISION_OVERRIDE(USE_SHMEM_SHMGET) +fi +]) case $host in *linux* ) # Linux pre-2.4 had problems with MM_SHMT_MMANON even though |
