summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-02-26 21:18:02 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-02-26 21:18:02 +0000
commitb9973c73a7fd32c9728ea786ee9a6a06eb254596 (patch)
treeb040d9670761c15e488162bb8bc7ea12b9a8009c /build
parent55ccff03394441007827a74bc0066781aa132bac (diff)
downloadlibapr-b9973c73a7fd32c9728ea786ee9a6a06eb254596.tar.gz
Backport Tru64 fixes from HEAD:
* shmem/unix/shm.c (apr_shm_create): Fix build with Tru64 "cc -std"; cast MAP_FAILED to (void *). * build/apr_hints.m4: Disable use of POSIX process-shared mutexes on Tru64 since they don't seem to be working. (these are selected as the default locking mechanism since the "mmap of /dev/zero" configure test was fixed!) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@64921 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/apr_hints.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4
index 1be35abd0..98116f56b 100644
--- a/build/apr_hints.m4
+++ b/build/apr_hints.m4
@@ -155,6 +155,8 @@ dnl # Not a problem in 10.20. Otherwise, who knows?
;;
*-dec-osf*)
APR_ADDTO(CPPFLAGS, [-DOSF1])
+ # process-shared mutexes don't seem to work in Tru64 5.0
+ APR_SETIFNULL(apr_cv_process_shared_works, [no])
;;
*-nto-qnx*)
;;