comparison src/s/gnu-linux.h @ 73073:bf1ea63459be

(MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too.
author Romain Francoise <romain@orebokech.com>
date Sat, 23 Sep 2006 13:50:32 +0000
parents a30f70d64256
children 2bd7a6d6a83f bb0e318b7c53
comparison
equal deleted inserted replaced
73072:623926b10449 73073:bf1ea63459be
140 for details.'' and then uses `#ifdef DEBIAN'. Unfortunately the 140 for details.'' and then uses `#ifdef DEBIAN'. Unfortunately the
141 Debian maintainer hasn't provided a clean fix for Emacs. 141 Debian maintainer hasn't provided a clean fix for Emacs.
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 145 /* We must check for HAVE_LIBLOCKFILE too, as movemail does.
146 #if !(defined (HAVE_LIBMAIL) && defined (HAVE_MAILLOCK_H)) 146 liblockfile is a Free Software replacement for libmail, used on
147 Debian systems and elsewhere. -rfr */
148
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
150 /* Define CLASH_DETECTION if you want lock files to be written 154 /* Define CLASH_DETECTION if you want lock files to be written
151 so that Emacs can tell instantly when you try to modify 155 so that Emacs can tell instantly when you try to modify