summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcovener <covener@13f79535-47bb-0310-9956-ffa450edef68>2023-01-19 22:45:47 +0000
committercovener <covener@13f79535-47bb-0310-9956-ffa450edef68>2023-01-19 22:45:47 +0000
commite0102e28aea831827440a9e4b6cf8ab1908068dd (patch)
treec27c8da4086437c8bae2fdae53dadc5d56f0cfc0
parent76db34d17a518066b6381b0913211d604b7c171c (diff)
downloadlibapr-e0102e28aea831827440a9e4b6cf8ab1908068dd.tar.gz
Merge r1906826 from 1.8.x:
Merge r1906825 from trunk: 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. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1906827 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 29c0d7050..46440d151 100644
--- a/configure.in
+++ b/configure.in
@@ -1447,6 +1447,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)