diff options
| author | Glenn Morris | 2012-07-11 00:07:19 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-07-11 00:07:19 -0700 |
| commit | 172bedefc979b19de6799b245e8843f84bfe70b5 (patch) | |
| tree | 724aa2dfebde887a250af57c061d1fe0f3062851 /src | |
| parent | bb3522608f97ac2450f5501164b11adda94e9b5f (diff) | |
| download | emacs-172bedefc979b19de6799b245e8843f84bfe70b5.tar.gz emacs-172bedefc979b19de6799b245e8843f84bfe70b5.zip | |
All the cool platforms support CLASH_DETECTION...
* configure.ac (CLASH_DETECTION): Define unconditionally.
Every platform using configure supports it.
* src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/template.h:
* src/s/usg5-4-common.h: Move CLASH_DETECTION to configure.
* etc/PROBLEMS: Recommend customizing create-lockfiles rather than
recompiling with CLASH_DETECTION unset.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/s/aix4-2.h | 1 | ||||
| -rw-r--r-- | src/s/bsd-common.h | 5 | ||||
| -rw-r--r-- | src/s/cygwin.h | 5 | ||||
| -rw-r--r-- | src/s/darwin.h | 5 | ||||
| -rw-r--r-- | src/s/gnu-linux.h | 5 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 5 | ||||
| -rw-r--r-- | src/s/template.h | 5 | ||||
| -rw-r--r-- | src/s/usg5-4-common.h | 3 |
9 files changed, 4 insertions, 34 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0dc0f010066..c9e4cbbabc0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2012-07-11 Glenn Morris <rgm@gnu.org> | 1 | 2012-07-11 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/darwin.h: | ||
| 4 | * s/gnu-linux.h, s/hpux10-20.h, s/template.h, s/usg5-4-common.h: | ||
| 5 | Move CLASH_DETECTION to configure. | ||
| 6 | |||
| 3 | * s/gnu.h: Remove file, which is now empty. | 7 | * s/gnu.h: Remove file, which is now empty. |
| 4 | 8 | ||
| 5 | * s/gnu.h, s/gnu-linux.h: | 9 | * s/gnu.h, s/gnu-linux.h: |
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index b7bdc8739a7..5741ef7c492 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -42,7 +42,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 42 | 42 | ||
| 43 | /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ | 43 | /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ |
| 44 | #define SIGNALS_VIA_CHARACTERS | 44 | #define SIGNALS_VIA_CHARACTERS |
| 45 | #define CLASH_DETECTION | ||
| 46 | 45 | ||
| 47 | /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ | 46 | /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ |
| 48 | #undef sigmask | 47 | #undef sigmask |
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h index 98391740653..c9c531b70b6 100644 --- a/src/s/bsd-common.h +++ b/src/s/bsd-common.h | |||
| @@ -60,10 +60,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 60 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | 60 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ |
| 61 | #define HAVE_SOCKETS | 61 | #define HAVE_SOCKETS |
| 62 | 62 | ||
| 63 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 64 | so that Emacs can tell instantly when you try to modify | ||
| 65 | a file that someone else has modified in his Emacs. */ | ||
| 66 | #define CLASH_DETECTION | ||
| 67 | |||
| 68 | /* Send signals to subprocesses by "typing" special chars at them. */ | 63 | /* Send signals to subprocesses by "typing" special chars at them. */ |
| 69 | #define SIGNALS_VIA_CHARACTERS | 64 | #define SIGNALS_VIA_CHARACTERS |
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 0bbdab0cca1..9faaea785d7 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -59,11 +59,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 59 | } \ | 59 | } \ |
| 60 | while (0) | 60 | while (0) |
| 61 | 61 | ||
| 62 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 63 | so that Emacs can tell instantly when you try to modify | ||
| 64 | a file that someone else has modified in his Emacs. */ | ||
| 65 | #define CLASH_DETECTION | ||
| 66 | |||
| 67 | /* If the system's imake configuration file defines `NeedWidePrototypes' | 62 | /* If the system's imake configuration file defines `NeedWidePrototypes' |
| 68 | as `NO', we must define NARROWPROTO manually. Such a define is | 63 | as `NO', we must define NARROWPROTO manually. Such a define is |
| 69 | generated in the Makefile generated by `xmkmf'. If we don't | 64 | generated in the Makefile generated by `xmkmf'. If we don't |
diff --git a/src/s/darwin.h b/src/s/darwin.h index 9371afee5e8..485fadbcb1f 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -83,11 +83,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 83 | for process-connection-type dependent on the kernel version. */ | 83 | for process-connection-type dependent on the kernel version. */ |
| 84 | #define MIN_PTY_KERNEL_VERSION '7' | 84 | #define MIN_PTY_KERNEL_VERSION '7' |
| 85 | 85 | ||
| 86 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 87 | so that Emacs can tell instantly when you try to modify | ||
| 88 | a file that someone else has modified in his Emacs. */ | ||
| 89 | #define CLASH_DETECTION | ||
| 90 | |||
| 91 | /* Avoid the use of the name init_process (process.c) because it is | 86 | /* Avoid the use of the name init_process (process.c) because it is |
| 92 | also the name of a Mach system call. */ | 87 | also the name of a Mach system call. */ |
| 93 | #define init_process emacs_init_process | 88 | #define init_process emacs_init_process |
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 9f8a994bb7e..d61d3ae5621 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -80,11 +80,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 80 | 80 | ||
| 81 | #define HAVE_SOCKETS | 81 | #define HAVE_SOCKETS |
| 82 | 82 | ||
| 83 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 84 | so that Emacs can tell instantly when you try to modify | ||
| 85 | a file that someone else has modified in his Emacs. */ | ||
| 86 | #define CLASH_DETECTION | ||
| 87 | |||
| 88 | /* Here, on a separate page, add any special hacks needed | 83 | /* Here, on a separate page, add any special hacks needed |
| 89 | to make Emacs work on this system. For example, | 84 | to make Emacs work on this system. For example, |
| 90 | you might define certain system call names that don't | 85 | you might define certain system call names that don't |
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index 7d8222761b3..ca8bcecb1f9 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -36,11 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 36 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | 36 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ |
| 37 | #define HAVE_SOCKETS | 37 | #define HAVE_SOCKETS |
| 38 | 38 | ||
| 39 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 40 | so that Emacs can tell instantly when you try to modify | ||
| 41 | a file that someone else has modified in his Emacs. */ | ||
| 42 | #define CLASH_DETECTION | ||
| 43 | |||
| 44 | /* Special hacks needed to make Emacs run on this system. */ | 39 | /* Special hacks needed to make Emacs run on this system. */ |
| 45 | 40 | ||
| 46 | /* This is how to get the device name of the tty end of a pty. */ | 41 | /* This is how to get the device name of the tty end of a pty. */ |
diff --git a/src/s/template.h b/src/s/template.h index 17c003a8df5..83027dc591b 100644 --- a/src/s/template.h +++ b/src/s/template.h | |||
| @@ -66,11 +66,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 66 | 66 | ||
| 67 | /* #undef subprocesses */ | 67 | /* #undef subprocesses */ |
| 68 | 68 | ||
| 69 | /* Define CLASH_DETECTION if you want lock files to be written | ||
| 70 | so that Emacs can tell instantly when you try to modify | ||
| 71 | a file that someone else has modified in his Emacs. */ | ||
| 72 | #define CLASH_DETECTION | ||
| 73 | |||
| 74 | /* If the character used to separate elements of the executable path | 69 | /* If the character used to separate elements of the executable path |
| 75 | is not ':', #define this to be the appropriate character constant. */ | 70 | is not ':', #define this to be the appropriate character constant. */ |
| 76 | /* #define SEPCHAR ':' */ | 71 | /* #define SEPCHAR ':' */ |
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index 2676e9e5943..74f8908c8f9 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h | |||
| @@ -51,9 +51,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 51 | constant to dimension an array. So wire in the appropriate value here. */ | 51 | constant to dimension an array. So wire in the appropriate value here. */ |
| 52 | #define NSIG_MINIMUM 32 | 52 | #define NSIG_MINIMUM 32 |
| 53 | 53 | ||
| 54 | /* We can support this. */ | ||
| 55 | #define CLASH_DETECTION | ||
| 56 | |||
| 57 | /* Define HAVE_PTYS if the system supports pty devices. */ | 54 | /* Define HAVE_PTYS if the system supports pty devices. */ |
| 58 | #define HAVE_PTYS | 55 | #define HAVE_PTYS |
| 59 | 56 | ||