You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by co...@apache.org on 2023/01/19 22:42:48 UTC

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

Author: covener
Date: Thu Jan 19 22:42:48 2023
New Revision: 1906825

URL: http://svn.apache.org/viewvc?rev=1906825&view=rev
Log:
force USE_SHMEM_SHMGET on AIX

prior to r1901037 on trunk, USE_SHMEM_SHMGET is used.
APR_USE_SHMEM_MMAP_SHM does not currently work on AIX.


Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=1906825&r1=1906824&r2=1906825&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Thu Jan 19 22:42:48 2023
@@ -1362,6 +1362,10 @@ case $host in
                                   USE_SHMEM_SHMGET)
         fi
         ;;
+    *aix* )
+        # AIX cannot lseek() shared memory, and we always truncate/lseek together
+        APR_DECISION_OVERRIDE(USE_SHMEM_SHMGET)
+       ;;
 esac
 APR_END_DECISION
 AC_DEFINE_UNQUOTED($ac_decision)