130 |
/* On GNU/Linux systems, both methods are used by various mail |
/* On GNU/Linux systems, both methods are used by various mail |
131 |
programs. I assume that most people are using newer mailers that |
programs. I assume that most people are using newer mailers that |
132 |
have heard of flock. Change this if you need to. */ |
have heard of flock. Change this if you need to. */ |
133 |
|
/* Debian contains a patch which says: ``On Debian/GNU/Linux systems, |
134 |
|
configure gets the right answers, and that means *NOT* using flock. |
135 |
|
Using flock is guaranteed to be the wrong thing. See Debian Policy |
136 |
|
for details.'' and then uses `#ifdef DEBIAN'. Unfortunately the |
137 |
|
Debian maintainer hasn't provided a clean fix for Emacs. |
138 |
|
movemail.c will use `maillock' when MAILDIR, HAVE_LIBMAIL and |
139 |
|
HAVE_MAILLOCK_H are defined, so the following appears to be the |
140 |
|
correct logic. -- fx */ |
141 |
|
|
142 |
|
#if !(defined (HAVE_LIBMAIL) && defined (HAVE_MAILLOCK_H)) |
143 |
#define MAIL_USE_FLOCK |
#define MAIL_USE_FLOCK |
144 |
|
#endif |
145 |
|
|
146 |
/* Define CLASH_DETECTION if you want lock files to be written |
/* Define CLASH_DETECTION if you want lock files to be written |
147 |
so that Emacs can tell instantly when you try to modify |
so that Emacs can tell instantly when you try to modify |
362 |
#define GC_LISP_OBJECT_ALIGNMENT 2 |
#define GC_LISP_OBJECT_ALIGNMENT 2 |
363 |
#endif |
#endif |
364 |
#endif |
#endif |
365 |
|
|
366 |
|
/* arch-tag: 6244ea2a-abd0-44ec-abec-ff3dcc9afea9 |
367 |
|
(do not change this comment) */ |