diff options
author | Ruediger Pluem <rpluem@apache.org> | 2023-03-07 19:40:44 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2023-03-07 19:40:44 +0000 |
commit | 77b40ffd4733f9e54c401d001040ff57a4b9e9a6 (patch) | |
tree | c318e6010f2d3d21af8fbe6eb06f944d8ec8a6d1 | |
parent | a952454507a4dac11d2452156cb87016877feaec (diff) | |
download | apr-77b40ffd4733f9e54c401d001040ff57a4b9e9a6.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.7.x@1908168 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 294654c7f..d9898c58e 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 |