Default to flock() locking on OpenBSD and Darwin.
authorLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 21 Jun 2012 18:11:40 +0000 (11:11 -0700)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 21 Jun 2012 18:11:40 +0000 (11:11 -0700)
configure.ac

index 036fb64..a0d1756 100644 (file)
@@ -74,7 +74,7 @@ dnl What method of locking to use?
 AS_CASE(["$host_os"],
   [aix*|cygwin*|linux*],
     [default_locktype="fcntl"; default_locking=FCNTL_LOCKING],
-  [freebsd*], [default_locktype="flock"; default_locking=FLOCK_LOCKING],
+  [freebsd*|openbsd*|darwin*], [default_locktype="flock"; default_locking=FLOCK_LOCKING],
   [default_locktype="dot"; default_locking=DOT_LOCKING])
 
 AC_ARG_WITH(locking,