* Since r1901037 Posix shared mem is prefered over SysV shared mem.
Add an option to revert this choice on systems that provide both.
@@ -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
