summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2023-01-19 22:42:48 +0000
committerEric Covener <covener@apache.org>2023-01-19 22:42:48 +0000
commitc8adeaba01de353b20b7e1212c7ee0153b44979a (patch)
treedc2f3dcb18cff890a184ce821a06a6d11a9ce2d7 /configure.in
parent725830547892acbe9a3cda9f6b397962823b4664 (diff)
downloadapr-c8adeaba01de353b20b7e1212c7ee0153b44979a.tar.gz
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/trunk@1906825 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 0e31a5b3b..2d8ddd493 100644
--- a/configure.in
+++ b/configure.in
@@ -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)