Mercurial > emacs
annotate src/s/usg5-3.h @ 94715:1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 07 May 2008 07:18:17 +0000 |
parents | 9ed7610349d3 |
children |
rev | line source |
---|---|
456 | 1 /* Definitions file for GNU Emacs running on AT&T's System V Release 3 |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
2 Copyright (C) 1987, 1999, 2001, 2002, 2003, 2004, 2005, 2006, |
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
3 2007, 2008 Free Software Foundation, Inc. |
456 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
7 GNU Emacs is free software: you can redistribute it and/or modify |
456 | 8 it under the terms of the GNU General Public License as published by |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
9 the Free Software Foundation, either version 3 of the License, or |
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
10 (at your option) any later version. |
456 | 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 | |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
92159
diff
changeset
|
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
456 | 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 #define USG /* System III, System V, etc */ | |
27 | |
28 #define USG5 | |
29 | |
1040 | 30 #define USG5_3 |
31 | |
456 | 32 /* SYSTEM_TYPE should indicate the kind of system you are using. |
33 It sets the Lisp variable system-type. */ | |
34 | |
35 #define SYSTEM_TYPE "usg-unix-v" | |
36 | |
37 /* nomultiplejobs should be defined if your system's shell | |
38 does not have "job control" (the ability to stop a program, | |
39 run some other program, then continue the first one). */ | |
40 | |
41 #define NOMULTIPLEJOBS | |
42 | |
43 /* Default is to set interrupt_input to 0: don't do input buffering within Emacs */ | |
44 | |
45 /* #define INTERRUPT_INPUT */ | |
46 | |
47 /* Letter to use in finding device name of first pty, | |
48 if system supports pty's. 'p' means it is /dev/ptyp0 */ | |
49 | |
50 #define FIRST_PTY_LETTER 'p' | |
51 | |
52 /* | |
53 * Define HAVE_TERMIO if the system provides sysV-style ioctls | |
54 * for terminal control. | |
55 */ | |
56 | |
57 #define HAVE_TERMIO | |
58 | |
59 /* | |
60 * Define HAVE_PTYS if the system supports pty devices. | |
61 */ | |
62 | |
63 /* Some versions of V.3 have this, but not all. | |
64 #define HAVE_PTYS | |
65 #define SYSV_PTYS */ | |
66 | |
67 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | |
68 | |
69 /* #define HAVE_SOCKETS */ | |
70 | |
71 /* | |
72 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
73 * The 4.2 opendir, etc., library functions. | |
74 */ | |
75 | |
76 /* #define NONSYSTEM_DIR_LIBRARY */ | |
77 | |
78 /* | |
79 * Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir | |
80 * library functions. Almost, but not quite the same as | |
81 * the 4.2 functions | |
82 */ | |
83 #define SYSV_SYSTEM_DIR | |
84 | |
85 /* Define this symbol if your system has the functions bcopy, etc. */ | |
86 | |
87 /* #define BSTRING */ | |
88 | |
89 /* subprocesses should be defined if you want to | |
90 have code for asynchronous subprocesses | |
91 (as used in M-x compile and M-x shell). | |
92 This is supposed to work now on system V release 2. */ | |
93 | |
94 #define subprocesses | |
95 | |
96 /* If your system uses COFF (Common Object File Format) then define the | |
97 preprocessor symbol "COFF". */ | |
98 | |
99 #define COFF | |
100 | |
101 /* define MAIL_USE_FLOCK if the mailer uses flock | |
102 to interlock access to /usr/spool/mail/$USER. | |
103 The alternative is that a lock file named | |
104 /usr/spool/mail/$USER.lock. */ | |
105 | |
106 /* #define MAIL_USE_FLOCK */ | |
107 | |
108 /* Define CLASH_DETECTION if you want lock files to be written | |
109 so that Emacs can tell instantly when you try to modify | |
110 a file that someone else has modified in his Emacs. */ | |
111 | |
112 /* #define CLASH_DETECTION */ | |
113 | |
114 /* The file containing the kernel's symbol table is called /unix. */ | |
115 | |
116 #define KERNEL_FILE "/unix" | |
117 | |
118 /* The symbol in the kernel where the load average is found | |
119 is named avenrun. */ | |
120 | |
121 #define LDAV_SYMBOL "avenrun" | |
122 | |
123 /* Define this if system V IPC is available. */ | |
124 | |
125 #define HAVE_SYSVIPC | |
3053
7d0d877f8733
Some makes can't handle form feed characters in their makefiles.
Jim Blandy <jimb@redhat.com>
parents:
2115
diff
changeset
|
126 |
456 | 127 /* Special hacks needed to make Emacs run on this system. */ |
128 | |
129 /* | |
130 * Make the sigsetmask function go away. Don't know what the | |
131 * ramifications of this are, but doesn't seem possible to | |
132 * emulate it properly anyway at this point. | |
133 */ | |
134 | |
135 #define sigsetmask(mask) /* Null expansion */ | |
136 | |
137 /* setjmp and longjmp can safely replace _setjmp and _longjmp, | |
138 but they will run slower. */ | |
139 | |
140 #define _setjmp setjmp | |
141 #define _longjmp longjmp | |
142 | |
143 /* On USG systems these have different names */ | |
31226
4b1b1196a217
(index): Define only if not HAVE_INDEX.
Gerd Moellmann <gerd@gnu.org>
parents:
28594
diff
changeset
|
144 #ifndef HAVE_INDEX |
456 | 145 #define index strchr |
31226
4b1b1196a217
(index): Define only if not HAVE_INDEX.
Gerd Moellmann <gerd@gnu.org>
parents:
28594
diff
changeset
|
146 #endif /* ! defined (HAVE_INDEX) */ |
4b1b1196a217
(index): Define only if not HAVE_INDEX.
Gerd Moellmann <gerd@gnu.org>
parents:
28594
diff
changeset
|
147 #ifndef HAVE_RINDEX |
456 | 148 #define rindex strrchr |
31226
4b1b1196a217
(index): Define only if not HAVE_INDEX.
Gerd Moellmann <gerd@gnu.org>
parents:
28594
diff
changeset
|
149 #endif /* ! defined (HAVE_RINDEX) */ |
456 | 150 |
151 /* USG systems tend to put everything declared static | |
152 into the initialized data area, which becomes pure after dumping Emacs. | |
153 Foil this. Emacs carefully avoids static vars inside functions. */ | |
154 | |
155 #define static | |
156 | |
157 /* Compiler bug bites on many systems when default ADDR_CORRECT is used. */ | |
158 | |
159 #define ADDR_CORRECT(x) (x) | |
160 | |
161 /* Use terminfo instead of termcap. */ | |
162 | |
163 #define TERMINFO | |
164 | |
1040 | 165 /* Some variants have TIOCGETC, but the structures to go with it |
166 are not declared. */ | |
167 | |
168 #define BROKEN_TIOCGETC | |
169 | |
999 | 170 /* AT&T SVr3 X wants to be linked with shared libraries */ |
171 | |
172 #define LIB_X11_LIB -lX11_s | |
173 | |
456 | 174 /* X needs to talk on the network, so search the network library. */ |
175 | |
2115
9b403531a607
* s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries here
Jim Blandy <jimb@redhat.com>
parents:
1040
diff
changeset
|
176 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lc_s |
456 | 177 |
1040 | 178 /* The docs for system V/386 suggest v.3 has sigpause, |
179 so let's give it a try. */ | |
180 #define HAVE_SYSV_SIGPAUSE | |
456 | 181 |
999 | 182 /* Some variants have TIOCGWINSZ, but the structures to go with it |
183 are not declared. */ | |
184 | |
185 #define BROKEN_TIOCGWINSZ | |
186 | |
187 /* If we're using the System V X port, BSD bstring functions will be handy */ | |
188 | |
189 #ifdef HAVE_X_WINDOWS | |
190 #define BSTRING | |
191 #endif /* HAVE_X_WINDOWS */ | |
192 | |
456 | 193 /* Enable support for shared libraries in unexec. */ |
194 | |
195 #define USG_SHARED_LIBRARIES | |
490 | 196 |
197 /* On USG systems signal handlers return void */ | |
198 | |
199 #define SIGTYPE void | |
52401 | 200 |
201 /* arch-tag: 2bca65fd-f015-44b9-a2aa-9f8170ce89ca | |
202 (do not change this comment) */ |