aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRomain Francoise2006-09-23 13:50:32 +0000
committerRomain Francoise2006-09-23 13:50:32 +0000
commit47a0ee40fc34b0a0a6481886a76a20251a5e9fa9 (patch)
tree04cabf0a6d61540ad7164eb0e879158ba7c56504 /src
parent1e2d7573a8a9578b2e270f1ace0d1edb4d3e2185 (diff)
downloademacs-47a0ee40fc34b0a0a6481886a76a20251a5e9fa9.tar.gz
emacs-47a0ee40fc34b0a0a6481886a76a20251a5e9fa9.zip
(MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/s/gnu-linux.h6
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b08fde7317e..12a6ef0dd1c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12006-09-23 Romain Francoise <romain@orebokech.com>
2
3 * s/gnu-linux.h (MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too.
4
12006-09-23 Kenichi Handa <handa@m17n.org> 52006-09-23 Kenichi Handa <handa@m17n.org>
2 6
3 * keymap.c (Fmap_keymap): Docstring mentions about generic 7 * keymap.c (Fmap_keymap): Docstring mentions about generic
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