Several distros have manually patched it out, and there are reports it doesn't work properly on AIX.
This allows completely removing the dotlock. It checks to make sure that at least one locking mechanism is enabled though. Note the second patch changes indentation, so it may be easier to review via: https://gitlab.com/muttmua/mutt/-/commit/32a1b69bd6b5bd454703d8256c45c5394197f000 Kevin J. McCarthy (3): Move flock and fcntl enable checks earlier. Add --disable-dotlock configure.ac argument. Add checking to ensure file locking is enabled. INSTALL | 4 ++ configure.ac | 108 ++++++++++++++++++++++++++++++++------------------- 2 files changed, 73 insertions(+), 39 deletions(-) -- 2.56.0
