You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rp...@apache.org on 2023/02/10 18:21:00 UTC

svn commit: r1907566 - /apr/apr/trunk/configure.in

Author: rpluem
Date: Fri Feb 10 18:21:00 2023
New Revision: 1907566

URL: http://svn.apache.org/viewvc?rev=1907566&view=rev
Log:
* Since r1901037 Posix shared mem is prefered over SysV shared mem.
  Add an option to revert this choice on systems that provide both.

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=1907566&r1=1907565&r2=1907566&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Fri Feb 10 18:21:00 2023
@@ -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