diff options
author | gregames <gregames@13f79535-47bb-0310-9956-ffa450edef68> | 2002-04-01 21:07:13 +0000 |
---|---|---|
committer | gregames <gregames@13f79535-47bb-0310-9956-ffa450edef68> | 2002-04-01 21:07:13 +0000 |
commit | 3303997ea77d0909b75066190f5958ca7aab6e80 (patch) | |
tree | 52c23dc86267a8a3d72ff481b320ef250f5f4a8e /build/apr_hints.m4 | |
parent | 96cc314ca75e0a44c7a49cff6e5dbc43ff9b7c42 (diff) | |
download | libapr-3303997ea77d0909b75066190f5958ca7aab6e80.tar.gz |
FreeBSD: use fcntl cross-process locks by default. Make note of problems
experienced with flock and SysV sems.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63215 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/apr_hints.m4')
-rw-r--r-- | build/apr_hints.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4 index 383861207..ce2c7914d 100644 --- a/build/apr_hints.m4 +++ b/build/apr_hints.m4 @@ -135,6 +135,11 @@ dnl # Not a problem in 10.20. Otherwise, who knows? ;; esac APR_SETIFNULL(enable_threads, [no]) + +dnl XXX Fix me - Apache 1.3 used FLOCK serialization by default on FreeBSD, +dnl but that doesn't work any more. + + APR_SETIFNULL(apr_lock_method, [USE_FCNTL_SERIALIZE]) APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_THREAD_SAFE]) ;; *-next-nextstep*) |