aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/gnu-linux.h')
-rw-r--r--src/s/gnu-linux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 817f1facdee..55d9a725293 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -142,8 +142,12 @@ Boston, MA 02110-1301, USA. */
142 movemail.c will use `maillock' when MAILDIR, HAVE_LIBMAIL and 142 movemail.c will use `maillock' when MAILDIR, HAVE_LIBMAIL and
143 HAVE_MAILLOCK_H are defined, so the following appears to be the 143 HAVE_MAILLOCK_H are defined, so the following appears to be the
144 correct logic. -- fx */ 144 correct logic. -- fx */
145/* We must check for HAVE_LIBLOCKFILE too, as movemail does.
146 liblockfile is a Free Software replacement for libmail, used on
147 Debian systems and elsewhere. -rfr */
145 148
146#if !(defined (HAVE_LIBMAIL) && defined (HAVE_MAILLOCK_H)) 149#if !((defined (HAVE_LIBMAIL) || defined (HAVE_LIBLOCKFILE)) && \
150 defined (HAVE_MAILLOCK_H))
147#define MAIL_USE_FLOCK 151#define MAIL_USE_FLOCK
148#endif 152#endif
149 153