summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-06-22 08:45:04 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-06-22 08:45:04 +0000
commit7b074bf785d8bc820aa13a11e2a4ad0b078b41b5 (patch)
tree4cb19123e86cdb91c870a7405f32de1f6f00d32b /build
parent311d95f8dfddee0c54e8afc664344f8e41cad9cb (diff)
downloadlibapr-7b074bf785d8bc820aa13a11e2a4ad0b078b41b5.tar.gz
Backport from HEAD:
* configure.in: Don't use POSIX semaphores or cross-process pthread mutexes as the default inter-process locking mechanism. * build/apr_hints.m4: Force default inter-process locking mechanism to fcntl for Solaris, as per 1.3. Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@65211 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/apr_hints.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4
index 224360812..92eed44a5 100644
--- a/build/apr_hints.m4
+++ b/build/apr_hints.m4
@@ -198,6 +198,7 @@ dnl # Not a problem in 10.20. Otherwise, who knows?
*-solaris2*)
PLATOSVERS=`echo $host | sed 's/^.*solaris2.//'`
APR_ADDTO(CPPFLAGS, [-DSOLARIS2=$PLATOSVERS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT])
+ APR_SETIFNULL(apr_lock_method, [USE_FCNTL_SERIALIZE])
;;
*-sunos4*)
APR_ADDTO(CPPFLAGS, [-DSUNOS4])