Commit 7490175b authored by Glenn Morris's avatar Glenn Morris
Browse files

Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.

* configure.in (MAIL_USE_FLOCK, MAIL_USE_LOCKF): New AC_DEFINEs.
(BLESSMAIL_TARGET): New output variable.

* lib-src/Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.

* src/s/aix4-2.h (MAIL_USE_LOCKF):
* src/s/bsd-common.h (MAIL_USE_FLOCK):
* src/s/darwin.h (MAIL_USE_FLOCK):
* src/s/gnu-linux.h (MAIL_USE_FLOCK):
* src/s/irix6-5.h (MAIL_USE_FLOCK):
* src/s/template.h (MAIL_USE_FLOCK):
Move to configure.

* src/s/ms-w32.h: Comment.

* msdos/sed3v2.inp (BLESSMAIL_TARGET): Edit to need-blessmail.
parent 79ccd68f
2010-05-10 Glenn Morris <rgm@gnu.org>
* configure.in (MAIL_USE_FLOCK, MAIL_USE_LOCKF): New AC_DEFINEs.
(BLESSMAIL_TARGET): New output variable.
2010-05-08 Štěpán Němec <stepnem@gmail.com> (tiny change) 2010-05-08 Štěpán Němec <stepnem@gmail.com> (tiny change)
* INSTALL: Fix typos. * INSTALL: Fix typos.
......
...@@ -2482,6 +2482,48 @@ AC_CHECK_FUNCS(touchlock) ...@@ -2482,6 +2482,48 @@ AC_CHECK_FUNCS(touchlock)
AC_CHECK_HEADERS(maillock.h) AC_CHECK_HEADERS(maillock.h)
AC_SUBST(LIBS_MAIL) AC_SUBST(LIBS_MAIL)
## Define MAIL_USE_FLOCK (or LOCKF) if the mailer uses flock (or lockf) to
## interlock access to the mail spool. The alternative is a lock file named
## /usr/spool/mail/$USER.lock.
mail_lock=no
case "$opsys" in
aix4-2) mail_lock="lockf" ;;
gnu|freebsd|netbsd|openbsd|darwin|irix6-5) mail_lock="flock" ;;
## On GNU/Linux systems, both methods are used by various mail programs.
## I assume most people are using newer mailers that have heard of flock.
## Change this if you need to.
## Debian contains a patch which says: ``On Debian/GNU/Linux systems,
## configure gets the right answers, and that means *NOT* using flock.
## Using flock is guaranteed to be the wrong thing. See Debian Policy
## for details.'' and then uses `#ifdef DEBIAN'. Unfortunately the
## Debian maintainer hasn't provided a clean fix for Emacs.
## movemail.c will use `maillock' when MAILDIR, HAVE_LIBMAIL and
## HAVE_MAILLOCK_H are defined, so the following appears to be the
## correct logic. -- fx
## We must check for HAVE_LIBLOCKFILE too, as movemail does.
## liblockfile is a Free Software replacement for libmail, used on
## Debian systems and elsewhere. -rfr.
gnu-*)
mail_lock="flock"
if test $have_mail = yes || test $have_lockfile = yes; then
test $ac_cv_header_maillock_h = yes && mail_lock=no
fi
;;
esac
BLESSMAIL_TARGET=
case "$mail_lock" in
flock) AC_DEFINE(MAIL_USE_FLOCK, 1, [Define if the mailer uses flock to interlock the mail spool.]) ;;
lockf) AC_DEFINE(MAIL_USE_LOCKF, 1, [Define if the mailer uses lockf to interlock the mail spool.]) ;;
*) BLESSMAIL_TARGET="need-blessmail" ;;
esac
AC_SUBST(BLESSMAIL_TARGET)
AC_CHECK_FUNCS(gethostname getdomainname dup2 \ AC_CHECK_FUNCS(gethostname getdomainname dup2 \
rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \
random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \
......
2010-05-10 Glenn Morris <rgm@gnu.org>
* Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
2010-05-08 Christoph <cschol2112@googlemail.com> (tiny change) 2010-05-08 Christoph <cschol2112@googlemail.com> (tiny change)
* makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
......
...@@ -131,8 +131,8 @@ EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} ...@@ -131,8 +131,8 @@ EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
# If neither flag is set, blessmail is used. # If neither flag is set, blessmail is used.
MOVE_FLAGS= MOVE_FLAGS=
## May be reset below by cpp. ## Empty if either MAIL_USE_FLOCK or MAIL_USE_LOCKF, else need-blessmail.
BLESSMAIL_TARGET= BLESSMAIL_TARGET=@BLESSMAIL_TARGET@
## -lkrb if HAVE_LIBKRB or -lkrb4 if HAVE_LIBKRB4 ## -lkrb if HAVE_LIBKRB or -lkrb4 if HAVE_LIBKRB4
KRB4LIB=@KRB4LIB@ KRB4LIB=@KRB4LIB@
...@@ -173,12 +173,6 @@ CPP_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src ...@@ -173,12 +173,6 @@ CPP_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src
#endif #endif
LOADLIBES=LIBS_SYSTEM LOADLIBES=LIBS_SYSTEM
#ifndef MAIL_USE_FLOCK
#ifndef MAIL_USE_LOCKF
BLESSMAIL_TARGET = need-blessmail
#endif
#endif
.SUFFIXES: .m .SUFFIXES: .m
......
2010-05-10 Glenn Morris <rgm@gnu.org>
* sed3v2.inp (BLESSMAIL_TARGET): Edit to need-blessmail.
2010-05-07 Chong Yidong <cyd@stupidchicken.com> 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
* Version 23.2 released. * Version 23.2 released.
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
/^libdir *=/s!=.*$!=/emacs/bin! /^libdir *=/s!=.*$!=/emacs/bin!
/^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))! /^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))!
/^VPATH *=/s!=.*$!=.! /^VPATH *=/s!=.*$!=.!
/^BLESSMAIL_TARGET *=/s!@BLESSMAIL_TARGET@!need-blessmail!
/^KRB4LIB *=/s/@[^@\n]*@//g /^KRB4LIB *=/s/@[^@\n]*@//g
/^DESLIB *=/s/@[^@\n]*@//g /^DESLIB *=/s/@[^@\n]*@//g
/^KRB5LIB *=/s/@[^@\n]*@//g /^KRB5LIB *=/s/@[^@\n]*@//g
......
2010-05-10 Glenn Morris <rgm@gnu.org>
* s/aix4-2.h (MAIL_USE_LOCKF):
* s/bsd-common.h (MAIL_USE_FLOCK):
* s/darwin.h (MAIL_USE_FLOCK):
* s/gnu-linux.h (MAIL_USE_FLOCK):
* s/irix6-5.h (MAIL_USE_FLOCK):
* s/template.h (MAIL_USE_FLOCK):
Move to configure.
2010-05-08 Chong Yidong <cyd@stupidchicken.com> 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
   
* Version 23.2 released. * Version 23.2 released.
......
...@@ -110,7 +110,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -110,7 +110,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */
#define SIGNALS_VIA_CHARACTERS #define SIGNALS_VIA_CHARACTERS
#define MAIL_USE_LOCKF
#define CLASH_DETECTION #define CLASH_DETECTION
/* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */
......
/* Definitions file for GNU Emacs running on bsd 4.3 /* Definitions file for GNU Emacs running on bsd 4.3
Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006,
2007, 2008, 2009, 2010 Free Software Foundation, Inc. Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of GNU Emacs. This file is part of GNU Emacs.
...@@ -18,10 +19,8 @@ You should have received a copy of the GNU General Public License ...@@ -18,10 +19,8 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* /* Define symbols to identify the version of Unix this is.
* Define symbols to identify the version of Unix this is. * Define all the symbols that apply correctly. */
* Define all the symbols that apply correctly.
*/
/* We give these symbols the numeric values found in <sys/param.h> to /* We give these symbols the numeric values found in <sys/param.h> to
avoid warnings about redefined macros. */ avoid warnings about redefined macros. */
...@@ -55,61 +54,41 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -55,61 +54,41 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
generated in the Makefile generated by `xmkmf'. If we don't generated in the Makefile generated by `xmkmf'. If we don't
define NARROWPROTO, we will see the wrong function prototypes define NARROWPROTO, we will see the wrong function prototypes
for X functions taking float or double parameters. */ for X functions taking float or double parameters. */
#define NARROWPROTO 1 #define NARROWPROTO 1
/* SYSTEM_TYPE should indicate the kind of system you are using. /* SYSTEM_TYPE should indicate the kind of system you are using.
It sets the Lisp variable system-type. */ It sets the Lisp variable system-type. */
#define SYSTEM_TYPE "berkeley-unix" #define SYSTEM_TYPE "berkeley-unix"
/* Do not use interrupt_input = 1 by default, because in 4.3 /* Do not use interrupt_input = 1 by default, because in 4.3
we can make noninterrupt input work properly. */ we can make noninterrupt input work properly. */
#undef INTERRUPT_INPUT #undef INTERRUPT_INPUT
/* First pty name is /dev/ptyp0. */ /* First pty name is /dev/ptyp0. */
#define FIRST_PTY_LETTER 'p' #define FIRST_PTY_LETTER 'p'
/* /* Define HAVE_PTYS if the system supports pty devices. */
* Define HAVE_PTYS if the system supports pty devices.
*/
#define HAVE_PTYS #define HAVE_PTYS
/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
#define HAVE_SOCKETS #define HAVE_SOCKETS
/* Define this symbol if your system has the functions bcopy, etc. */ /* Define this symbol if your system has the functions bcopy, etc. */
#define BSTRING #define BSTRING
/* define MAIL_USE_FLOCK if the mailer uses flock
to interlock access to /usr/spool/mail/$USER.
The alternative is that a lock file named
/usr/spool/mail/$USER.lock. */
#define MAIL_USE_FLOCK
/* Define CLASH_DETECTION if you want lock files to be written /* Define CLASH_DETECTION if you want lock files to be written
so that Emacs can tell instantly when you try to modify so that Emacs can tell instantly when you try to modify
a file that someone else has modified in his Emacs. */ a file that someone else has modified in his Emacs. */
#define CLASH_DETECTION #define CLASH_DETECTION
/* The file containing the kernel's symbol table is called /vmunix. */ /* The file containing the kernel's symbol table is called /vmunix. */
#define KERNEL_FILE "/vmunix" #define KERNEL_FILE "/vmunix"
/* The symbol in the kernel where the load average is found /* The symbol in the kernel where the load average is found
is named _avenrun. */ is named _avenrun. */
#define LDAV_SYMBOL "_avenrun" #define LDAV_SYMBOL "_avenrun"
/* Send signals to subprocesses by "typing" special chars at them. */ /* Send signals to subprocesses by "typing" special chars at them. */
#define SIGNALS_VIA_CHARACTERS #define SIGNALS_VIA_CHARACTERS
/* arch-tag: 0c367245-bde3-492e-9029-3ff6898beb95 /* arch-tag: 0c367245-bde3-492e-9029-3ff6898beb95
......
/* System description header file for Darwin (Mac OS X). /* System description header file for Darwin (Mac OS X).
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2008, 2009, 2010 Free Software Foundation, Inc. Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
2010 Free Software Foundation, Inc.
This file is part of GNU Emacs. This file is part of GNU Emacs.
...@@ -18,10 +19,8 @@ You should have received a copy of the GNU General Public License ...@@ -18,10 +19,8 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* /* Define symbols to identify the version of Unix this is.
* Define symbols to identify the version of Unix this is. * Define all the symbols that apply correctly. */
* Define all the symbols that apply correctly.
*/
#define BSD4_2 #define BSD4_2
/* BSD4_3 and BSD4_4 are already defined in sys/param.h */ /* BSD4_3 and BSD4_4 are already defined in sys/param.h */
...@@ -31,13 +30,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -31,13 +30,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
may not be defined on non-OSX Darwin, and we cannot define DARWIN may not be defined on non-OSX Darwin, and we cannot define DARWIN
here because Panther and lower CoreFoundation.h uses DARWIN to here because Panther and lower CoreFoundation.h uses DARWIN to
distinguish OS X from pure Darwin. */ distinguish OS X from pure Darwin. */
#define DARWIN_OS #define DARWIN_OS
/* SYSTEM_TYPE should indicate the kind of system you are using. /* SYSTEM_TYPE should indicate the kind of system you are using.
It sets the Lisp variable system-type. */ It sets the Lisp variable system-type. */
#define SYSTEM_TYPE "darwin" #define SYSTEM_TYPE "darwin"
/* Emacs can read input using SIGIO and buffering characters itself, /* Emacs can read input using SIGIO and buffering characters itself,
...@@ -61,12 +58,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -61,12 +58,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
It would have Emacs fork off a separate process It would have Emacs fork off a separate process
to read the input and send it to the true Emacs process to read the input and send it to the true Emacs process
through a pipe. */ through a pipe. */
#define INTERRUPT_INPUT #define INTERRUPT_INPUT
/* Letter to use in finding device name of first pty, /* Letter to use in finding device name of first pty,
if system supports pty's. 'a' means it is /dev/ptya0 */ if system supports pty's. 'a' means it is /dev/ptya0 */
#define FIRST_PTY_LETTER 'p' #define FIRST_PTY_LETTER 'p'
/* /*
...@@ -79,16 +74,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -79,16 +74,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
* Do not define both. HAVE_TERMIOS is preferred, if it is * Do not define both. HAVE_TERMIOS is preferred, if it is
* supported on your system. * supported on your system.
*/ */
#define HAVE_TERMIOS #define HAVE_TERMIOS
#define NO_TERMIO #define NO_TERMIO
/* /*
* Define HAVE_PTYS if the system supports pty devices. * Define HAVE_PTYS if the system supports pty devices.
* Note: PTYs are broken on darwin <6. Use at your own risk. * Note: PTYs are broken on darwin <6. Use at your own risk.
*/ */
#define HAVE_PTYS #define HAVE_PTYS
/* Run only once. We need a `for'-loop because the code uses /* Run only once. We need a `for'-loop because the code uses
`continue'. */ `continue'. */
...@@ -117,20 +109,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -117,20 +109,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define MIN_PTY_KERNEL_VERSION '7' #define MIN_PTY_KERNEL_VERSION '7'
/* Define this symbol if your system has the functions bcopy, etc. */ /* Define this symbol if your system has the functions bcopy, etc. */
#define BSTRING #define BSTRING
/* define MAIL_USE_FLOCK if the mailer uses flock
to interlock access to /usr/spool/mail/$USER.
The alternative is that a lock file named
/usr/spool/mail/$USER.lock. */
#define MAIL_USE_FLOCK
/* Define CLASH_DETECTION if you want lock files to be written /* Define CLASH_DETECTION if you want lock files to be written
so that Emacs can tell instantly when you try to modify so that Emacs can tell instantly when you try to modify
a file that someone else has modified in his Emacs. */ a file that someone else has modified in his Emacs. */
#define CLASH_DETECTION #define CLASH_DETECTION
/* Avoid the use of the name init_process (process.c) because it is /* Avoid the use of the name init_process (process.c) because it is
...@@ -152,21 +135,18 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -152,21 +135,18 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define HAVE_SOCKETS #define HAVE_SOCKETS
/* Definitions for how to dump. Copied from nextstep.h. */ /* Definitions for how to dump. Copied from nextstep.h. */
#define UNEXEC unexmacosx.o #define UNEXEC unexmacosx.o
/* start_of_text isn't actually used, so make it compile without error. */ /* start_of_text isn't actually used, so make it compile without error. */
#define TEXT_START (0) #define TEXT_START (0)
/* Definitions for how to compile & link. */ /* Definitions for how to compile & link. */
#ifdef HAVE_NS #ifdef HAVE_NS
#define SYSTEM_PURESIZE_EXTRA 200000 #define SYSTEM_PURESIZE_EXTRA 200000
#endif #endif
/* On Darwin, res_init appears not to be useful: see bug#562 and /* On Darwin, res_init appears not to be useful: see bug#562 and
http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01467.html */ http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01467.html */
#undef HAVE_RES_INIT #undef HAVE_RES_INIT
#undef HAVE_LIBRESOLV #undef HAVE_LIBRESOLV
......
...@@ -103,41 +103,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -103,41 +103,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define HAVE_SOCKETS #define HAVE_SOCKETS
/* Define this symbol if your system has the functions bcopy, etc. */ /* Define this symbol if your system has the functions bcopy, etc. */
#define BSTRING #define BSTRING
/* This is used in list_system_processes. */ /* This is used in list_system_processes. */
#define HAVE_PROCFS 1 #define HAVE_PROCFS 1
/* define MAIL_USE_FLOCK if the mailer uses flock
to interlock access to /usr/spool/mail/$USER.
The alternative is that a lock file named
/usr/spool/mail/$USER.lock. */
/* On GNU/Linux systems, both methods are used by various mail
programs. I assume that most people are using newer mailers that
have heard of flock. Change this if you need to. */
/* Debian contains a patch which says: ``On Debian/GNU/Linux systems,
configure gets the right answers, and that means *NOT* using flock.
Using flock is guaranteed to be the wrong thing. See Debian Policy
for details.'' and then uses `#ifdef DEBIAN'. Unfortunately the
Debian maintainer hasn't provided a clean fix for Emacs.
movemail.c will use `maillock' when MAILDIR, HAVE_LIBMAIL and
HAVE_MAILLOCK_H are defined, so the following appears to be the
correct logic. -- fx */
/* We must check for HAVE_LIBLOCKFILE too, as movemail does.
liblockfile is a Free Software replacement for libmail, used on
Debian systems and elsewhere. -rfr */
#if !((defined (HAVE_LIBMAIL) || defined (HAVE_LIBLOCKFILE)) && \
defined (HAVE_MAILLOCK_H))
#define MAIL_USE_FLOCK
#endif
/* Define CLASH_DETECTION if you want lock files to be written /* Define CLASH_DETECTION if you want lock files to be written
so that Emacs can tell instantly when you try to modify so that Emacs can tell instantly when you try to modify
a file that someone else has modified in his Emacs. */ a file that someone else has modified in his Emacs. */
#define CLASH_DETECTION #define CLASH_DETECTION
/* Here, on a separate page, add any special hacks needed /* Here, on a separate page, add any special hacks needed
......
...@@ -85,21 +85,10 @@ char *_getpty(); ...@@ -85,21 +85,10 @@ char *_getpty();
#define UNEXEC unexelf.o #define UNEXEC unexelf.o
/* define MAIL_USE_FLOCK if the mailer uses flock
to interlock access to /usr/spool/mail/$USER.
The alternative is that a lock file named
/usr/spool/mail/$USER.lock. */
#define MAIL_USE_FLOCK
#define NARROWPROTO 1 #define NARROWPROTO 1
#define USE_MMAP_FOR_BUFFERS 1 #define USE_MMAP_FOR_BUFFERS 1
/* arch-tag: ad0660e0-acf8-46ae-b866-4f3df5b1101b
(do not change this comment) */
#if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */
#define _LP64 /* lisp.h takes care of the rest */ #define _LP64 /* lisp.h takes care of the rest */
#endif /* _MIPS_SZLONG */ #endif /* _MIPS_SZLONG */
...@@ -112,5 +101,8 @@ char *_getpty(); ...@@ -112,5 +101,8 @@ char *_getpty();
#define GC_SETJMP_WORKS 1 #define GC_SETJMP_WORKS 1
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
/* arch-tag: ad0660e0-acf8-46ae-b866-4f3df5b1101b
(do not change this comment) */
/* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83 /* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83
(do not change this comment) */ (do not change this comment) */
/* System description file for Windows NT. /* System description file for Windows NT.
Copyright (C) 1993, 1994, 1995, 2001, 2002, 2003, 2004, 2005, 2006,
2007, 2008, 2009, 2010 Free Software Foundation, Inc. Copyright (C) 1993, 1994, 1995, 2001, 2002, 2003, 2004, 2005, 2006,
2007, 2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of GNU Emacs. This file is part of GNU Emacs.
...@@ -89,12 +90,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -89,12 +90,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define COFF 1 #define COFF 1
/* define MAIL_USE_FLOCK if the mailer uses flock
to interlock access to /usr/spool/mail/$USER.
The alternative is that a lock file named
/usr/spool/mail/$USER.lock. */
/* #define MAIL_USE_FLOCK */
#define MAIL_USE_POP 1 #define MAIL_USE_POP 1
#define MAIL_USE_SYSTEM_LOCK 1 #define MAIL_USE_SYSTEM_LOCK 1
......
/* Template for system description header files. /* Template for system description header files.
This file describes the parameters that system description files This file describes the parameters that system description files
should define or not. should define or not.
Copyright (C) 1985, 1986, 1992, 1999, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Copyright (C) 1985, 1986, 1992, 1999, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of GNU Emacs. This file is part of GNU Emacs.
...@@ -102,13 +103,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -102,13 +103,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* #define COFF */ /* #define COFF */
/* define MAIL_USE_FLOCK if the mailer uses flock
to interlock access to /usr/spool/mail/$USER.
The alternative is that a lock file named
/usr/spool/mail/$USER.lock. */
#define MAIL_USE_FLOCK
/* Define CLASH_DETECTION if you want lock files to be written /* Define CLASH_DETECTION if you want lock files to be written
so that Emacs can tell instantly when you try to modify so that Emacs can tell instantly when you try to modify
a file that someone else has modified in his Emacs. */ a file that someone else has modified in his Emacs. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment