diff options
author | rpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68> | 2023-03-07 19:44:31 +0000 |
---|---|---|
committer | rpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68> | 2023-03-07 19:44:31 +0000 |
commit | 5dbc6a01ff63c8be80c403459dbe7efb3dde8f32 (patch) | |
tree | a369fc87eb33c7c69dbed6942b4192747e0747cd | |
parent | c2ea118048a759891493da1919ef50f4bc0e333c (diff) | |
download | libapr-5dbc6a01ff63c8be80c403459dbe7efb3dde8f32.tar.gz |
Merge r1907566 from trunk:
* 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/branches/1.8.x@1908169 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 b16cf649a..0d9466002 100644 --- a/configure.in +++ b/configure.in @@ -1456,6 +1456,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 |