diff options
author | Ruediger Pluem <rpluem@apache.org> | 2023-02-10 18:21:00 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2023-02-10 18:21:00 +0000 |
commit | c0d145c0d24bf6a4f872cfd0ab0aa6a33cdbf065 (patch) | |
tree | edf5ecee4f1688ded7557d1f222a2f5269d8489b | |
parent | c0cce761f8e04183ddd506bdb814d66bab5f4a78 (diff) | |
download | apr-c0d145c0d24bf6a4f872cfd0ab0aa6a33cdbf065.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
-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 |