Mercurial > emacs
annotate src/s/bsd-common.h @ 107442:7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
* s/bsd-common.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Define (or undefine) here instead of
doing it in all files that include this one.
* s/gnu.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Remove.
* s/freebsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Remove.
* s/netbsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Remove.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sat, 20 Mar 2010 00:57:11 -0700 |
parents | 1d1d5d9bd884 |
children | dbd787c249c5 |
rev | line source |
---|---|
96303 | 1 /* Definitions file for GNU Emacs running on bsd 4.3 |
2 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, | |
106815 | 3 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
96303 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software: you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
9 the Free Software Foundation, either version 3 of the License, or | |
10 (at your option) any later version. | |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |
19 | |
20 | |
21 /* | |
22 * Define symbols to identify the version of Unix this is. | |
23 * Define all the symbols that apply correctly. | |
24 */ | |
25 | |
26 /* We give these symbols the numeric values found in <sys/param.h> to | |
27 avoid warnings about redefined macros. */ | |
28 #ifndef BSD4_3 | |
29 #define BSD4_3 1 | |
30 #endif /* BSD4_3 */ | |
31 | |
32 #ifndef BSD_SYSTEM | |
33 #define BSD_SYSTEM 43 | |
34 #endif /* BSD_SYSTEM */ | |
35 | |
107442
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
36 /* For mem-limits.h. */ |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
37 #define BSD4_2 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
38 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
39 #define TABDLY OXTABS |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
40 #define TAB3 OXTABS |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
41 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
42 /* 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
|
43 #undef KERNEL_FILE |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
44 #undef LDAV_SYMBOL |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
45 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
46 #define HAVE_TERMIOS |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
47 #define NO_TERMIO |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
48 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
49 #define LIBS_DEBUG |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
50 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
51 #define SYSV_SYSTEM_DIR |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
52 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
53 /* POSIX-style pgrp behavior. */ |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
54 #undef BSD_PGRPS |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
55 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
56 #define UNEXEC unexelf.o |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
57 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
58 /* 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
|
59 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
|
60 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
|
61 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
|
62 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
|
63 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
64 #define NARROWPROTO 1 |
7ada44edb67c
Consolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
106815
diff
changeset
|
65 |
96303 | 66 /* SYSTEM_TYPE should indicate the kind of system you are using. |
67 It sets the Lisp variable system-type. */ | |
68 | |
69 #define SYSTEM_TYPE "berkeley-unix" | |
70 | |
71 /* Do not use interrupt_input = 1 by default, because in 4.3 | |
72 we can make noninterrupt input work properly. */ | |
73 | |
74 #undef INTERRUPT_INPUT | |
75 | |
76 /* First pty name is /dev/ptyp0. */ | |
77 | |
78 #define FIRST_PTY_LETTER 'p' | |
79 | |
80 /* | |
81 * Define HAVE_PTYS if the system supports pty devices. | |
82 */ | |
83 | |
84 #define HAVE_PTYS | |
85 | |
86 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
87 | |
88 #define HAVE_SOCKETS | |
89 | |
90 /* Define this symbol if your system has the functions bcopy, etc. */ | |
91 | |
92 #define BSTRING | |
93 | |
94 /* define MAIL_USE_FLOCK if the mailer uses flock | |
95 to interlock access to /usr/spool/mail/$USER. | |
96 The alternative is that a lock file named | |
97 /usr/spool/mail/$USER.lock. */ | |
98 | |
99 #define MAIL_USE_FLOCK | |
100 | |
101 /* Define CLASH_DETECTION if you want lock files to be written | |
102 so that Emacs can tell instantly when you try to modify | |
103 a file that someone else has modified in his Emacs. */ | |
104 | |
105 #define CLASH_DETECTION | |
106 | |
107 /* The file containing the kernel's symbol table is called /vmunix. */ | |
108 | |
109 #define KERNEL_FILE "/vmunix" | |
110 | |
111 /* The symbol in the kernel where the load average is found | |
112 is named _avenrun. */ | |
113 | |
114 #define LDAV_SYMBOL "_avenrun" | |
115 | |
116 /* Send signals to subprocesses by "typing" special chars at them. */ | |
117 | |
118 #define SIGNALS_VIA_CHARACTERS | |
119 | |
120 /* arch-tag: 0c367245-bde3-492e-9029-3ff6898beb95 | |
121 (do not change this comment) */ |