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,
AS_IF([test -z "$editorpath"], [editorpath="$vipath"])
AC_SUBST([editorpath])dnl
-dnl Cygwin FAT filesystems do not support hard links. So use cp instead,
-dnl even if running on an NTFS or other filesystem.
+dnl Cygwin FAT filesystems do not support hard links. So default to
+dnl cp instead, even if running on an NTFS or other filesystem.
AS_CASE(["$host_os"],
- [cygwin*],[LINK_FILE=cp],
- [LINK_FILE=ln])
-AC_SUBST([LINK_FILE])
+ [cygwin*],[LN=cp],
+ [LN=ln])
+AC_SUBST([LN])
dnl ----------------------------------------------------------
dnl FIND MAIL SPOOL AND SEE IF WE NEED TO MAKE inc SETGID MAIL