]> code.delx.au - gnu-emacs/commitdiff
(MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too.
authorRomain Francoise <romain@orebokech.com>
Sat, 23 Sep 2006 13:50:32 +0000 (13:50 +0000)
committerRomain Francoise <romain@orebokech.com>
Sat, 23 Sep 2006 13:50:32 +0000 (13:50 +0000)
src/ChangeLog
src/s/gnu-linux.h

index b08fde7317ea7b1a4862d311588a1150ea0c839a..12a6ef0dd1c076c07b7d61bfee5d96d09ddf37c6 100644 (file)
@@ -1,3 +1,7 @@
+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
index 817f1facdeec8b20ba712a10aac651f667d940a0..55d9a72529308c1a5bee51bde95f1635e3619844 100644 (file)
@@ -142,8 +142,12 @@ Boston, MA 02110-1301, USA.  */
    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