annotate src/s/bsd-common.h @ 108379:203aa49071bf

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.
author Glenn Morris <rgm@gnu.org>
date Sun, 09 May 2010 17:07:47 -0700
parents 9aa39b975b8a
children f8e62c2bf3e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
96303
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
1 /* Definitions file for GNU Emacs running on bsd 4.3
108379
203aa49071bf Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108235
diff changeset
2
203aa49071bf Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108235
diff changeset
3 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
203aa49071bf Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108235
diff changeset
4 2008, 2009, 2010 Free Software Foundation, Inc.
96303
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
5
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
6 This file is part of GNU Emacs.
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
7
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
8 GNU Emacs is free software: you can redistribute it and/or modify
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
9 it under the terms of the GNU General Public License as published by
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
10 the Free Software Foundation, either version 3 of the License, or
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
11 (at your option) any later version.
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
12
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
13 GNU Emacs is distributed in the hope that it will be useful,
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
16 GNU General Public License for more details.
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
17
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
20
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
21
108379
203aa49071bf Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108235
diff changeset
22 /* Define symbols to identify the version of Unix this is.
203aa49071bf Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108235
diff changeset
23 * Define all the symbols that apply correctly. */
96303
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
24
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
25 /* We give these symbols the numeric values found in <sys/param.h> to
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
26 avoid warnings about redefined macros. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
27 #ifndef BSD4_3
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
28 #define BSD4_3 1
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
29 #endif /* BSD4_3 */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
30
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
31 #ifndef BSD_SYSTEM
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
32 #define BSD_SYSTEM 43
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
33 #endif /* BSD_SYSTEM */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
34
107442
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
35 /* For mem-limits.h. */
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
36 #define BSD4_2
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
37
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
38 #define TABDLY OXTABS
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
39 #define TAB3 OXTABS
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
40
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
41 /* These aren't needed, since we have getloadavg. */
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
42 #undef KERNEL_FILE
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
43 #undef LDAV_SYMBOL
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
44
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
45 #define HAVE_TERMIOS
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
46 #define NO_TERMIO
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
47
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
48 #define SYSV_SYSTEM_DIR
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
49
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
50 #define UNEXEC unexelf.o
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
51
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
52 /* If the system's imake configuration file defines `NeedWidePrototypes'
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
53 as `NO', we must define NARROWPROTO manually. Such a define is
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
54 generated in the Makefile generated by `xmkmf'. If we don't
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
55 define NARROWPROTO, we will see the wrong function prototypes
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
56 for X functions taking float or double parameters. */
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
57 #define NARROWPROTO 1
7ada44edb67c Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106815
diff changeset
58
96303
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
59 /* SYSTEM_TYPE should indicate the kind of system you are using.
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
60 It sets the Lisp variable system-type. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
61 #define SYSTEM_TYPE "berkeley-unix"
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
62
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
63 /* Do not use interrupt_input = 1 by default, because in 4.3
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
64 we can make noninterrupt input work properly. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
65 #undef INTERRUPT_INPUT
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
66
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
67 /* First pty name is /dev/ptyp0. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
68 #define FIRST_PTY_LETTER 'p'
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
69
108379
203aa49071bf Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108235
diff changeset
70 /* Define HAVE_PTYS if the system supports pty devices. */
96303
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
71 #define HAVE_PTYS
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
72
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
73 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
74 #define HAVE_SOCKETS
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
75
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
76 /* Define this symbol if your system has the functions bcopy, etc. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
77 #define BSTRING
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
78
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
79 /* Define CLASH_DETECTION if you want lock files to be written
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
80 so that Emacs can tell instantly when you try to modify
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
81 a file that someone else has modified in his Emacs. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
82 #define CLASH_DETECTION
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
83
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
84 /* The file containing the kernel's symbol table is called /vmunix. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
85 #define KERNEL_FILE "/vmunix"
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
86
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
87 /* The symbol in the kernel where the load average is found
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
88 is named _avenrun. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
89 #define LDAV_SYMBOL "_avenrun"
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
90
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
91 /* Send signals to subprocesses by "typing" special chars at them. */
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
92 #define SIGNALS_VIA_CHARACTERS
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
93
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
94 /* arch-tag: 0c367245-bde3-492e-9029-3ff6898beb95
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
95 (do not change this comment) */