+2006-09-23 Romain Francoise <romain@orebokech.com>
+
+ * s/gnu-linux.h (MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too.
+
2006-09-23 Kenichi Handa <handa@m17n.org>
* keymap.c (Fmap_keymap): Docstring mentions about generic
movemail.c will use `maillock' when MAILDIR, HAVE_LIBMAIL and
HAVE_MAILLOCK_H are defined, so the following appears to be the
correct logic. -- fx */
+/* We must check for HAVE_LIBLOCKFILE too, as movemail does.
+ liblockfile is a Free Software replacement for libmail, used on
+ Debian systems and elsewhere. -rfr */
-#if !(defined (HAVE_LIBMAIL) && defined (HAVE_MAILLOCK_H))
+#if !((defined (HAVE_LIBMAIL) || defined (HAVE_LIBLOCKFILE)) && \
+ defined (HAVE_MAILLOCK_H))
#define MAIL_USE_FLOCK
#endif