From c0d145c0d24bf6a4f872cfd0ab0aa6a33cdbf065 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Fri, 10 Feb 2023 18:21:00 +0000 Subject: * 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 --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.1