changeset 51112:b0811540692f

Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
author Dave Love <fx@gnu.org>
date Tue, 20 May 2003 16:34:35 +0000
parents ac7ffb802e23
children 313e6657f6c2
files lib-src/movemail.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/movemail.c	Tue May 20 16:33:02 2003 +0000
+++ b/lib-src/movemail.c	Tue May 20 16:34:35 2003 +0000
@@ -129,7 +129,8 @@
 #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. */