]> code.delx.au - gnu-emacs/commitdiff
Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
authorDave Love <fx@gnu.org>
Tue, 20 May 2003 16:34:35 +0000 (16:34 +0000)
committerDave Love <fx@gnu.org>
Tue, 20 May 2003 16:34:35 +0000 (16:34 +0000)
lib-src/movemail.c

index 406dd8775bccc18b62f65f3958ac0093bf06926e..00157f991aea3d70add01b8874310e36dc458738 100644 (file)
@@ -129,7 +129,8 @@ extern int lk_open (), lk_close ();
 #endif
 
 #if !defined (MAIL_USE_SYSTEM_LOCK) && !defined (MAIL_USE_MMDF) && \
-       defined (HAVE_LIBMAIL) && defined (HAVE_MAILLOCK_H)
+       (defined (HAVE_LIBMAIL) || defined (HAVE_LIBLOCKFILE)) && \
+        defined (HAVE_MAILLOCK_H)
 #include <maillock.h>
 /* We can't use maillock unless we know what directory system mail
    files appear in. */