-locking=dot
-
-os=${OSTYPE:-`uname -s`}
-#### It'd be nice to have configure decide what locking style to use.
-#### In the meantime, select it manually. To determine what style
-#### locking your system uses by default, try something like this,
-#### assuming that strace is installed:
-#### $ echo test | strace -o /tmp/mail.strace mail -s test $LOGNAME
-#### Then look in /tmp/mail.strace for fcntl, flock, and lockf system
-#### calls and opens of dot files in the mail spool.
-#### These might help but are old:
-#### https://bugzilla.mozilla.org/show_bug.cgi?id=239013#c9
-#### http://www.jwz.org/doc/movemail.html
-case "$os" in
- aix) locking=fcntl ;;
- freebsd*) locking=flock ;;
- linux* ) locking=fcntl ;;
-esac
-