diff options
| author | Romain Francoise | 2006-09-23 13:50:32 +0000 |
|---|---|---|
| committer | Romain Francoise | 2006-09-23 13:50:32 +0000 |
| commit | 47a0ee40fc34b0a0a6481886a76a20251a5e9fa9 (patch) | |
| tree | 04cabf0a6d61540ad7164eb0e879158ba7c56504 /src/s/gnu-linux.h | |
| parent | 1e2d7573a8a9578b2e270f1ace0d1edb4d3e2185 (diff) | |
| download | emacs-47a0ee40fc34b0a0a6481886a76a20251a5e9fa9.tar.gz emacs-47a0ee40fc34b0a0a6481886a76a20251a5e9fa9.zip | |
(MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too.
Diffstat (limited to 'src/s/gnu-linux.h')
| -rw-r--r-- | src/s/gnu-linux.h | 6 |
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 | ||