summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-06-14 21:16:40 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-06-14 21:16:40 +0000
commitd96c82b6be75f255dc4e6914c3a2e59fb35deb96 (patch)
tree7b2065b246cbfe867e12ca1f574deff140254956 /build
parentf533d6648b4902e891d32fa56c628c6f4656559d (diff)
downloadlibapr-d96c82b6be75f255dc4e6914c3a2e59fb35deb96.tar.gz
* 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/trunk@65198 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 e6e7a9c86..00316d00b 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])