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/03/07 19:44:31 UTC

svn commit: r1908169 - in /apr/apr/branches/1.8.x: ./ configure.in

Author: rpluem
Date: Tue Mar  7 19:44:31 2023
New Revision: 1908169

URL: http://svn.apache.org/viewvc?rev=1908169&view=rev
Log:
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.

Modified:
    apr/apr/branches/1.8.x/   (props changed)
    apr/apr/branches/1.8.x/configure.in

Propchange: apr/apr/branches/1.8.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1907566

Modified: apr/apr/branches/1.8.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.8.x/configure.in?rev=1908169&r1=1908168&r2=1908169&view=diff
==============================================================================
--- apr/apr/branches/1.8.x/configure.in (original)
+++ apr/apr/branches/1.8.x/configure.in Tue Mar  7 19:44:31 2023
@@ -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